'use strict';function k(){return function(){}}function n(a){return function(){return this[a]}}var q;function aa(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}var ba="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};
function da(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");}var r=da(this);function t(a,b){if(b)a:{var c=r;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&ba(c,a,{configurable:!0,writable:!0,value:b})}}
t("Symbol",function(a){function b(f){if(this instanceof b)throw new TypeError("Symbol is not a constructor");return new c(d+(f||"")+"_"+e++,f)}function c(f,g){this.g=f;ba(this,"description",{configurable:!0,writable:!0,value:g})}if(a)return a;c.prototype.toString=n("g");var d="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",e=0;return b});
t("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=r[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&ba(d.prototype,a,{configurable:!0,writable:!0,value:function(){return ea(aa(this))}})}return a});function ea(a){a={next:a};a[Symbol.iterator]=function(){return this};return a}
function fa(a){return a.raw=a}function ha(a,b){a.raw=b;return a}function u(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if("number"==typeof a.length)return{next:aa(a)};throw Error(String(a)+" is not an iterable or ArrayLike");}function ia(a){if(!(a instanceof Array)){a=u(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a}var ja="function"==typeof Object.create?Object.create:function(a){function b(){}b.prototype=a;return new b},ka;
if("function"==typeof Object.setPrototypeOf)ka=Object.setPrototypeOf;else{var la;a:{var ma={a:!0},na={};try{na.__proto__=ma;la=na.a;break a}catch(a){}la=!1}ka=la?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var oa=ka;
function v(a,b){a.prototype=ja(b.prototype);a.prototype.constructor=a;if(oa)oa(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.T=b.prototype}function pa(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b}
t("Promise",function(a){function b(g){this.g=0;this.l=void 0;this.j=[];this.A=!1;var h=this.o();try{g(h.resolve,h.reject)}catch(l){h.reject(l)}}function c(){this.g=null}function d(g){return g instanceof b?g:new b(function(h){h(g)})}if(a)return a;c.prototype.j=function(g){if(null==this.g){this.g=[];var h=this;this.l(function(){h.v()})}this.g.push(g)};var e=r.setTimeout;c.prototype.l=function(g){e(g,0)};c.prototype.v=function(){for(;this.g&&this.g.length;){var g=this.g;this.g=[];for(var h=0;h<g.length;++h){var l=
g[h];g[h]=null;try{l()}catch(m){this.o(m)}}}this.g=null};c.prototype.o=function(g){this.l(function(){throw g;})};b.prototype.o=function(){function g(m){return function(p){l||(l=!0,m.call(h,p))}}var h=this,l=!1;return{resolve:g(this.K),reject:g(this.v)}};b.prototype.K=function(g){if(g===this)this.v(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof b)this.L(g);else{a:switch(typeof g){case "object":var h=null!=g;break a;case "function":h=!0;break a;default:h=!1}h?this.I(g):this.B(g)}};
b.prototype.I=function(g){var h=void 0;try{h=g.then}catch(l){this.v(l);return}"function"==typeof h?this.Y(h,g):this.B(g)};b.prototype.v=function(g){this.C(2,g)};b.prototype.B=function(g){this.C(1,g)};b.prototype.C=function(g,h){if(0!=this.g)throw Error("Cannot settle("+g+", "+h+"): Promise already settled in state"+this.g);this.g=g;this.l=h;2===this.g&&this.X();this.D()};b.prototype.X=function(){var g=this;e(function(){if(g.F()){var h=r.console;"undefined"!==typeof h&&h.error(g.l)}},1)};b.prototype.F=
function(){if(this.A)return!1;var g=r.CustomEvent,h=r.Event,l=r.dispatchEvent;if("undefined"===typeof l)return!0;"function"===typeof g?g=new g("unhandledrejection",{cancelable:!0}):"function"===typeof h?g=new h("unhandledrejection",{cancelable:!0}):(g=r.document.createEvent("CustomEvent"),g.initCustomEvent("unhandledrejection",!1,!0,g));g.promise=this;g.reason=this.l;return l(g)};b.prototype.D=function(){if(null!=this.j){for(var g=0;g<this.j.length;++g)f.j(this.j[g]);this.j=null}};var f=new c;b.prototype.L=
function(g){var h=this.o();g.ha(h.resolve,h.reject)};b.prototype.Y=function(g,h){var l=this.o();try{g.call(h,l.resolve,l.reject)}catch(m){l.reject(m)}};b.prototype.then=function(g,h){function l(E,ca){return"function"==typeof E?function(ed){try{m(E(ed))}catch(fd){p(fd)}}:ca}var m,p,z=new b(function(E,ca){m=E;p=ca});this.ha(l(g,m),l(h,p));return z};b.prototype.catch=function(g){return this.then(void 0,g)};b.prototype.ha=function(g,h){function l(){switch(m.g){case 1:g(m.l);break;case 2:h(m.l);break;
default:throw Error("Unexpected state: "+m.g);}}var m=this;null==this.j?f.j(l):this.j.push(l);this.A=!0};b.resolve=d;b.reject=function(g){return new b(function(h,l){l(g)})};b.race=function(g){return new b(function(h,l){for(var m=u(g),p=m.next();!p.done;p=m.next())d(p.value).ha(h,l)})};b.all=function(g){var h=u(g),l=h.next();return l.done?d([]):new b(function(m,p){function z(ed){return function(fd){E[ed]=fd;ca--;0==ca&&m(E)}}var E=[],ca=0;do E.push(void 0),ca++,d(l.value).ha(z(E.length-1),p),l=h.next();
while(!l.done)})};return b});function w(a,b){return Object.prototype.hasOwnProperty.call(a,b)}t("Array.prototype.find",function(a){return a?a:function(b,c){a:{var d=this;d instanceof String&&(d=String(d));for(var e=d.length,f=0;f<e;f++){var g=d[f];if(b.call(c,g,f,d)){b=g;break a}}b=void 0}return b}});
t("WeakMap",function(a){function b(l){this.g=(h+=Math.random()+1).toString();if(l){l=u(l);for(var m;!(m=l.next()).done;)m=m.value,this.set(m[0],m[1])}}function c(){}function d(l){var m=typeof l;return"object"===m&&null!==l||"function"===m}function e(l){if(!w(l,g)){var m=new c;ba(l,g,{value:m})}}function f(l){var m=Object[l];m&&(Object[l]=function(p){if(p instanceof c)return p;Object.isExtensible(p)&&e(p);return m(p)})}if(function(){if(!a||!Object.seal)return!1;try{var l=Object.seal({}),m=Object.seal({}),
p=new a([[l,2],[m,3]]);if(2!=p.get(l)||3!=p.get(m))return!1;p.delete(l);p.set(m,4);return!p.has(l)&&4==p.get(m)}catch(z){return!1}}())return a;var g="$jscomp_hidden_"+Math.random();f("freeze");f("preventExtensions");f("seal");var h=0;b.prototype.set=function(l,m){if(!d(l))throw Error("Invalid WeakMap key");e(l);if(!w(l,g))throw Error("WeakMap key fail: "+l);l[g][this.g]=m;return this};b.prototype.get=function(l){return d(l)&&w(l,g)?l[g][this.g]:void 0};b.prototype.has=function(l){return d(l)&&w(l,
g)&&w(l[g],this.g)};b.prototype.delete=function(l){return d(l)&&w(l,g)&&w(l[g],this.g)?delete l[g][this.g]:!1};return b});
t("Map",function(a){function b(){var h={};return h.previous=h.next=h.head=h}function c(h,l){var m=h[1];return ea(function(){if(m){for(;m.head!=h[1];)m=m.previous;for(;m.next!=m.head;)return m=m.next,{done:!1,value:l(m)};m=null}return{done:!0,value:void 0}})}function d(h,l){var m=l&&typeof l;"object"==m||"function"==m?f.has(l)?m=f.get(l):(m=""+ ++g,f.set(l,m)):m="p_"+l;var p=h[0][m];if(p&&w(h[0],m))for(h=0;h<p.length;h++){var z=p[h];if(l!==l&&z.key!==z.key||l===z.key)return{id:m,list:p,index:h,entry:z}}return{id:m,
list:p,index:-1,entry:void 0}}function e(h){this[0]={};this[1]=b();this.size=0;if(h){h=u(h);for(var l;!(l=h.next()).done;)l=l.value,this.set(l[0],l[1])}}if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var h=Object.seal({x:4}),l=new a(u([[h,"s"]]));if("s"!=l.get(h)||1!=l.size||l.get({x:4})||l.set({x:4},"t")!=l||2!=l.size)return!1;var m=l.entries(),p=m.next();if(p.done||p.value[0]!=h||"s"!=p.value[1])return!1;p=m.next();return p.done||4!=
p.value[0].x||"t"!=p.value[1]||!m.next().done?!1:!0}catch(z){return!1}}())return a;var f=new WeakMap;e.prototype.set=function(h,l){h=0===h?0:h;var m=d(this,h);m.list||(m.list=this[0][m.id]=[]);m.entry?m.entry.value=l:(m.entry={next:this[1],previous:this[1].previous,head:this[1],key:h,value:l},m.list.push(m.entry),this[1].previous.next=m.entry,this[1].previous=m.entry,this.size++);return this};e.prototype.delete=function(h){h=d(this,h);return h.entry&&h.list?(h.list.splice(h.index,1),h.list.length||
delete this[0][h.id],h.entry.previous.next=h.entry.next,h.entry.next.previous=h.entry.previous,h.entry.head=null,this.size--,!0):!1};e.prototype.clear=function(){this[0]={};this[1]=this[1].previous=b();this.size=0};e.prototype.has=function(h){return!!d(this,h).entry};e.prototype.get=function(h){return(h=d(this,h).entry)&&h.value};e.prototype.entries=function(){return c(this,function(h){return[h.key,h.value]})};e.prototype.keys=function(){return c(this,function(h){return h.key})};e.prototype.values=
function(){return c(this,function(h){return h.value})};e.prototype.forEach=function(h,l){for(var m=this.entries(),p;!(p=m.next()).done;)p=p.value,h.call(l,p[1],p[0],this)};e.prototype[Symbol.iterator]=e.prototype.entries;var g=0;return e});t("Number.isFinite",function(a){return a?a:function(b){return"number"!==typeof b?!1:!isNaN(b)&&Infinity!==b&&-Infinity!==b}});t("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)w(b,d)&&c.push(b[d]);return c}});
t("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});t("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c<e;c++){var f=d[c];if(f===b||Object.is(f,b))return!0}return!1}});
t("String.prototype.includes",function(a){return a?a:function(b,c){if(null==this)throw new TypeError("The 'this' value for String.prototype.includes must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype.includes must not be a regular expression");return-1!==(this+"").indexOf(b,c||0)}});
function qa(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var f=c++;return{value:b(f,a[f]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e}t("Array.prototype.entries",function(a){return a?a:function(){return qa(this,function(b,c){return[b,c]})}});t("Array.prototype.keys",function(a){return a?a:function(){return qa(this,function(b){return b})}});
t("Array.prototype.values",function(a){return a?a:function(){return qa(this,function(b,c){return c})}});t("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(h){return h};var e=[],f="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];if("function"==typeof f){b=f.call(b);for(var g=0;!(f=b.next()).done;)e.push(c.call(d,f.value,g++))}else for(f=b.length,g=0;g<f;g++)e.push(c.call(d,b[g],g));return e}});
t("Set",function(a){function b(c){this.g=new Map;if(c){c=u(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.g.size}if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new a(u([c]));if(!d.has(c)||1!=d.size||d.add(c)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||4!=f.value[0].x||
f.value[1]!=f.value[0]?!1:e.next().done}catch(g){return!1}}())return a;b.prototype.add=function(c){c=0===c?0:c;this.g.set(c,c);this.size=this.g.size;return this};b.prototype.delete=function(c){c=this.g.delete(c);this.size=this.g.size;return c};b.prototype.clear=function(){this.g.clear();this.size=0};b.prototype.has=function(c){return this.g.has(c)};b.prototype.entries=function(){return this.g.entries()};b.prototype.values=function(){return this.g.values()};b.prototype.keys=b.prototype.values;b.prototype[Symbol.iterator]=
b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.g.forEach(function(f){return c.call(d,f,f,e)})};return b});t("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)w(b,d)&&c.push([d,b[d]]);return c}});t("globalThis",function(a){return a||r});t("Math.imul",function(a){return a?a:function(b,c){b=Number(b);c=Number(c);var d=b&65535,e=c&65535;return d*e+((b>>>16&65535)*e+d*(c>>>16&65535)<<16>>>0)|0}});
t("String.fromCodePoint",function(a){return a?a:function(b){for(var c="",d=0;d<arguments.length;d++){var e=Number(arguments[d]);if(0>e||1114111<e||e!==Math.floor(e))throw new RangeError("invalid_code_point "+e);65535>=e?c+=String.fromCharCode(e):(e-=65536,c+=String.fromCharCode(e>>>10&1023|55296),c+=String.fromCharCode(e&1023|56320))}return c}});
t("String.prototype.matchAll",function(a){return a?a:function(b){if(b instanceof RegExp&&!b.global)throw new TypeError("RegExp passed into String.prototype.matchAll() must have global tag.");var c=new RegExp(b,b instanceof RegExp?void 0:"g"),d=this,e=!1,f={next:function(){if(e)return{value:void 0,done:!0};var g=c.exec(d);if(!g)return e=!0,{value:void 0,done:!0};""===g[0]&&(c.lastIndex+=1);return{value:g,done:!1}}};f[Symbol.iterator]=function(){return f};return f}});/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var ra=ra||{},x=this||self;function sa(a){var b=ta("CLOSURE_FLAGS");a=b&&b[a];return null!=a?a:!1}function ta(a){a=a.split(".");for(var b=x,c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b}function ua(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"}function va(a){var b=ua(a);return"array"==b||"object"==b&&"number"==typeof a.length}function wa(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}var xa="closure_uid_"+(1E9*Math.random()>>>0),ya=0;
function za(a,b,c){return a.call.apply(a.bind,arguments)}function Aa(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}}function y(a,b,c){y=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?za:Aa;return y.apply(null,arguments)}
function Ba(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}}function Ca(a){(0,eval)(a)}function A(a,b){function c(){}c.prototype=b.prototype;a.T=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Ob=function(d,e,f){for(var g=Array(arguments.length-2),h=2;h<arguments.length;h++)g[h-2]=arguments[h];return b.prototype[e].apply(d,g)}};function B(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,B);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));void 0!==b&&(this.cause=b);this.g=!0}A(B,Error);B.prototype.name="CustomError";function Da(a){x.setTimeout(function(){throw a;},0)};var Ea=sa(610401301),Fa=sa(188588736);function Ga(){var a=x.navigator;return a&&(a=a.userAgent)?a:""}var Ha,Ia=x.navigator;Ha=Ia?Ia.userAgentData||null:null;function Ja(a){return Ea?Ha?Ha.brands.some(function(b){return(b=b.brand)&&-1!=b.indexOf(a)}):!1:!1}function C(a){return-1!=Ga().indexOf(a)};function D(){return Ea?!!Ha&&0<Ha.brands.length:!1}function Ka(){return C("Firefox")||C("FxiOS")}function La(){return D()?Ja("Chromium"):(C("Chrome")||C("CriOS"))&&!(D()?0:C("Edge"))||C("Silk")};function Ma(){return Ea?!!Ha&&!!Ha.platform:!1}function Na(){return C("iPhone")&&!C("iPod")&&!C("iPad")}function Oa(){Na()||C("iPad")||C("iPod")};function Pa(a,b){return Array.prototype.indexOf.call(a,b,void 0)}function Qa(a,b){return Array.prototype.some.call(a,b,void 0)}function Ra(a,b){b=Pa(a,b);var c;(c=0<=b)&&Array.prototype.splice.call(a,b,1);return c}function Sa(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(va(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var g=0;g<f;g++)a[e+g]=d[g]}else a.push(d)}};function Ta(a,b,c){return Object.prototype.hasOwnProperty.call(a,b)?a[b]:a[b]=c(b)};C("Mobile");Ma()||C("Macintosh");Ma()||C("Windows");(Ma()?"Linux"===Ha.platform:C("Linux"))||Ma()||C("CrOS");Ma()||C("Android");Na();C("iPad");C("iPod");Oa();Ga().toLowerCase().indexOf("kaios");Ka();Na()||C("iPod");C("iPad");!C("Android")||La()||Ka()||(D()?0:C("Opera"))||C("Silk");La();!C("Safari")||La()||(D()?0:C("Coast"))||(D()?0:C("Opera"))||(D()?0:C("Edge"))||(D()?Ja("Microsoft Edge"):C("Edg/"))||(D()?Ja("Opera"):C("OPR"))||Ka()||C("Silk")||C("Android")||Oa();var Ua={},Va=null;var Wa="undefined"!==typeof Uint8Array,Xa="function"===typeof btoa;function Ya(a){return"function"===typeof Symbol&&"symbol"===typeof Symbol()?Symbol():a}var Za=Ya(),$a=Ya("2ex");Math.max.apply(Math,ia(Object.values({Ab:1,xb:2,vb:4,Hb:8,Gb:16,Eb:32,mb:64,Mb:128,ub:256,tb:512,yb:1024,rb:2048,Lb:4096,sb:8192})));
var ab=Za?function(a,b){a[Za]|=b}:function(a,b){void 0!==a.U?a.U|=b:Object.defineProperties(a,{U:{value:b,configurable:!0,writable:!0,enumerable:!1}})},bb=Za?function(a){return a[Za]|0}:function(a){return a.U|0},cb=Za?function(a){return a[Za]}:function(a){return a.U},db=Za?function(a,b){a[Za]=b;return a}:function(a,b){void 0!==a.U?a.U=b:Object.defineProperties(a,{U:{value:b,configurable:!0,writable:!0,enumerable:!1}});return a};function eb(a,b){db(b,(a|0)&-14591)}
function fb(a,b){db(b,(a|34)&-14557)}function gb(a){a=a>>14&1023;return 0===a?536870912:a};var hb={},ib={};function jb(a){return!(!a||"object"!==typeof a||a.g!==ib)}function kb(a){return null!==a&&"object"===typeof a&&!Array.isArray(a)&&a.constructor===Object}function lb(a,b,c){if(!Array.isArray(a)||a.length)return!1;var d=bb(a);if(d&1)return!0;if(!(b&&(Array.isArray(b)?b.includes(c):b.has(c))))return!1;db(a,d|1);return!0}Object.freeze(new (k()));Object.freeze(new (k()));function mb(a,b,c){a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382[b]=c};var nb;function ob(a){return a.displayName||a.name||"unknown type name"}function pb(a){if("boolean"!==typeof a)throw Error("Expected boolean but got "+ua(a)+": "+a);return a}function qb(a){if(null==a)return a;if("string"===typeof a){if(!a)return;a=+a}if("number"===typeof a)return Number.isFinite(a)?a|0:void 0};var rb;
function F(a,b,c){null==a&&(a=rb);rb=void 0;if(null==a){var d=96;c?(a=[c],d|=512):a=[];b&&(d=d&-16760833|(b&1023)<<14)}else{if(!Array.isArray(a))throw Error("narr");d=bb(a);if(d&2048)throw Error("farr");if(d&64)return a;d|=64;if(c&&(d|=512,c!==a[0]))throw Error("mid");a:{c=a;var e=c.length;if(e){var f=e-1;if(kb(c[f])){d|=256;b=f-(+!!(d&512)-1);if(1024<=b)throw Error("pvtlmt");d=d&-16760833|(b&1023)<<14;break a}}if(b){b=Math.max(b,e-(+!!(d&512)-1));if(1024<b)throw Error("spvt");d=d&-16760833|(b&1023)<<
14}}}db(a,d);return a};function sb(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "boolean":return a?1:0;case "object":if(a)if(Array.isArray(a)){if(lb(a,void 0,0))return}else if(Wa&&null!=a&&a instanceof Uint8Array){if(Xa){for(var b="",c=0,d=a.length-10240;c<d;)b+=String.fromCharCode.apply(null,a.subarray(c,c+=10240));b+=String.fromCharCode.apply(null,c?a.subarray(c):a);a=btoa(b)}else{void 0===b&&(b=0);if(!Va){Va={};c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split("");d=["+/=",
"+/","-_=","-_.","-_"];for(var e=0;5>e;e++){var f=c.concat(d[e].split(""));Ua[e]=f;for(var g=0;g<f.length;g++){var h=f[g];void 0===Va[h]&&(Va[h]=g)}}}b=Ua[b];c=Array(Math.floor(a.length/3));d=b[64]||"";for(e=f=0;f<a.length-2;f+=3){var l=a[f],m=a[f+1];h=a[f+2];g=b[l>>2];l=b[(l&3)<<4|m>>4];m=b[(m&15)<<2|h>>6];h=b[h&63];c[e++]=""+g+l+m+h}g=0;h=d;switch(a.length-f){case 2:g=a[f+1],h=b[(g&15)<<2]||d;case 1:a=a[f],c[e]=""+b[a>>2]+b[(a&3)<<4|g>>4]+h+d}a=c.join("")}return a}}return a};function tb(a,b,c){a=Array.prototype.slice.call(a);var d=a.length,e=b&256?a[d-1]:void 0;d+=e?-1:0;for(b=b&512?1:0;b<d;b++)a[b]=c(a[b]);if(e){b=a[b]={};for(var f in e)b[f]=c(e[f])}return a}function ub(a,b,c,d,e){if(null!=a){if(Array.isArray(a))a=lb(a,void 0,0)?void 0:e&&bb(a)&2?a:vb(a,b,c,void 0!==d,e);else if(kb(a)){var f={},g;for(g in a)f[g]=ub(a[g],b,c,d,e);a=f}else a=b(a,d);return a}}
function vb(a,b,c,d,e){var f=d||c?bb(a):0;d=d?!!(f&32):void 0;a=Array.prototype.slice.call(a);for(var g=0;g<a.length;g++)a[g]=ub(a[g],b,c,d,e);c&&c(f,a);return a}function wb(a){return a.ma===hb?xb(a):Wa&&null!=a&&a instanceof Uint8Array?new Uint8Array(a):a}function yb(a){return a.ma===hb?a.toJSON():sb(a)};function zb(a,b,c){c=void 0===c?fb:c;if(null!=a){if(Wa&&a instanceof Uint8Array)return b?a:new Uint8Array(a);if(Array.isArray(a)){var d=bb(a);if(d&2)return a;b&&(b=0===d||!!(d&32)&&!(d&64||!(d&16)));return b?db(a,(d|34)&-12293):vb(a,zb,d&4?fb:c,!0,!0)}a.ma===hb&&(c=a.H,d=cb(c),a=d&2?a:Ab(a,c,d,!0));return a}}function Ab(a,b,c,d){a=a.constructor;rb=b=Bb(b,c,d);b=new a(b);rb=void 0;return b}
function Bb(a,b,c){var d=c||b&2?fb:eb,e=!!(b&32);a=tb(a,b,function(f){return zb(f,e,d)});ab(a,32|(c?2:0));return a};function Cb(a,b){a=a.H;return Db(a,cb(a),b)}function Eb(a,b,c,d){b=d+(+!!(b&512)-1);if(!(0>b||b>=a.length||b>=c))return a[b]}function Db(a,b,c,d){if(-1===c)return null;var e=gb(b);if(c>=e){if(b&256)return a[a.length-1][c]}else{var f=a.length;if(d&&b&256&&(d=a[f-1][c],null!=d)){if(Eb(a,b,e,c)&&null!=$a){var g;a=null!=(g=nb)?g:nb={};g=a[$a]||0;4<=g||(a[$a]=g+1,g=Error(),mb(g,"severity","incident"),Da(g))}return d}return Eb(a,b,e,c)}}
function Fb(a,b,c){var d=a.H,e=cb(d);if(e&2)throw Error();Gb(d,e,b,c);return a}function Gb(a,b,c,d,e){var f=gb(b);if(c>=f||e){var g=b;if(b&256)e=a[a.length-1];else{if(null==d)return;e=a[f+(+!!(b&512)-1)]={};g|=256}e[c]=d;c<f&&(a[c+(+!!(b&512)-1)]=void 0);g!==b&&db(a,g)}else a[c+(+!!(b&512)-1)]=d,b&256&&(a=a[a.length-1],c in a&&delete a[c])}
function G(a,b,c){var d=void 0===d?!1:d;var e=a.H;var f=cb(e),g=Db(e,f,c,d);if(null!=g&&"object"===typeof g&&g.ma===hb)b=g;else if(Array.isArray(g)){var h=bb(g),l=h;0===l&&(l|=f&32);l|=f&2;l!==h&&db(g,l);b=new b(g)}else b=void 0;b!==g&&null!=b&&Gb(e,f,c,b,d);e=b;if(null==e)return e;a=a.H;f=cb(a);f&2||(g=e,b=g.H,h=cb(b),g=h&2?Ab(g,b,h,!1):g,g!==e&&(e=g,Gb(a,f,c,e,d)));return e}
function Hb(a,b,c,d){if(null!=d){if(!(d instanceof b))throw Error("Expected instanceof "+ob(b)+" but got "+(d&&ob(d.constructor)));}else d=void 0;return Fb(a,c,d)}function Ib(a,b){a=Cb(a,b);return null==a||"string"===typeof a?a:void 0}function Jb(a){a=Cb(a,1);return null==a?a:Number.isFinite(a)?a|0:void 0}function Kb(a,b){return null!=a?a:b}function Lb(a,b,c){c=void 0===c?!1:c;a=Cb(a,b);return Kb(null==a||"boolean"===typeof a?a:"number"===typeof a?!!a:void 0,c)}
function Mb(a,b,c){c=void 0===c?0:c;return Kb(qb(Cb(a,b)),c)}function Nb(a,b,c){c=void 0===c?"":c;return Kb(Ib(a,b),c)}function Ob(a){var b=0;b=void 0===b?0:b;return Kb(Jb(a),b)}function Pb(a){a=Jb(a);return null==a?void 0:a}function Qb(a,b,c){if(null!=c&&"string"!==typeof c)throw Error();return Fb(a,b,c)}function Rb(a,b){if(null!=b){if(!Number.isFinite(b))throw a=Error("enum"),mb(a,"severity","warning"),a;b|=0}return Fb(a,1,b)};function H(a,b,c){this.H=F(a,b,c)}H.prototype.toJSON=function(){return Sb(this,vb(this.H,yb,void 0,void 0,!1),!0)};function xb(a){return Sb(a,vb(a.H,wb,void 0,void 0,!1),!0)}H.prototype.ma=hb;H.prototype.toString=function(){return Sb(this,this.H,!1).toString()};
function Sb(a,b,c){var d=Fa?void 0:a.constructor.Pb;var e=cb(c?a.H:b);a=b.length;if(!a)return b;var f;if(kb(c=b[a-1])){a:{var g=c;var h={},l=!1,m;for(m in g){var p=g[m];if(Array.isArray(p)){var z=p;if(lb(p,d,+m)||jb(p)&&0===p.size)p=null;p!=z&&(l=!0)}null!=p?h[m]=p:l=!0}if(l){for(var E in h){g=h;break a}g=null}}g!=c&&(f=!0);a--}for(m=+!!(e&512)-1;0<a;a--){E=a-1;c=b[E];E-=m;if(!(null==c||lb(c,d,E)||jb(c)&&0===c.size))break;var ca=!0}if(!f&&!ca)return b;b=Array.prototype.slice.call(b,0,a);g&&b.push(g);
return b};function Tb(a){this.H=F(a)}v(Tb,H);function I(){}I.prototype.M=function(a){return Ub(this,a)};I.prototype.P=function(){return Vb(this)};I.prototype.toString=function(){return J(Wb(K(Xb(this))))+"@"+J((this.P()>>>0).toString(16))};I.prototype.s=["java.lang.Object",0];function Yb(){}v(Yb,I);function L(a,b){a.g=b;Zb(b,a)}function M(a){$b(a.g)&&(Error.captureStackTrace?Error.captureStackTrace(N(a.g,$b,ac)):N(a.g,$b,ac).stack=Error().stack)}Yb.prototype.toString=function(){var a=Wb(K(Xb(this))),b=this.j;return null==b?a:J(a)+": "+J(b)};function bc(a){return a instanceof Yb}Yb.prototype.s=["java.lang.Throwable",0];function cc(){}v(cc,Yb);cc.prototype.s=["java.lang.Exception",0];function O(){}v(O,cc);O.prototype.s=["java.lang.RuntimeException",0];function dc(){}v(dc,O);function ec(a){var b=new dc;b.j=a;M(b);L(b,Error(b));return b}dc.prototype.s=["java.lang.IndexOutOfBoundsException",0];function Ub(a,b){return Object.is(a,b)||null==a&&null==b};var fc;function gc(){gc=k();for(var a=hc(),b=0;256>b;b=b+1|0)ic(a,b,jc(b-128|0));fc=a};function kc(){}v(kc,O);kc.prototype.s=["java.lang.ArithmeticException",0];function lc(){}v(lc,O);lc.prototype.s=["java.lang.ArrayStoreException",0];function N(a,b,c){if(null!=a&&!b(a))throw a=J(Wb(mc(a)))+" cannot be cast to "+J(Wb(K(c))),b=new nc,b.j=a,M(b),L(b,Error(b)),b.g;return a};function Xb(a){return a.constructor};function oc(){}v(oc,I);oc.prototype.s=["java.lang.Boolean",0];function pc(){}v(pc,I);pc.prototype.s=["java.lang.Number",0];function qc(){}v(qc,pc);qc.prototype.s=["java.lang.Double",0];function rc(a,b){this.j=a|0;this.g=b|0}function sc(a){return 4294967296*a.g+(a.j>>>0)}q=rc.prototype;
q.toString=function(a){a=a||10;if(2>a||36<a)throw Error("radix out of range: "+a);var b=this.g>>21;if(0==b||-1==b&&(0!=this.j||-2097152!=this.g))return b=sc(this),10==a?""+b:b.toString(a);b=14-(a>>2);var c=Math.pow(a,b),d=P(c,c/4294967296);c=tc(this,d);d=Math.abs(sc(this.add(Q(uc(c,d)))));var e=10==a?""+d:d.toString(a);e.length<b&&(e="0000000000000".slice(e.length-b)+e);d=sc(c);return(10==a?d:d.toString(a))+e};function vc(a){return 0==a.j&&0==a.g}q.P=function(){return this.j^this.g};
q.M=function(a){return this.j==a.j&&this.g==a.g};function wc(a,b){return a.g==b.g?a.j==b.j?0:a.j>>>0>b.j>>>0?1:-1:a.g>b.g?1:-1}function Q(a){var b=~a.j+1|0;return P(b,~a.g+!b|0)}q.add=function(a){var b=this.g>>>16,c=this.g&65535,d=this.j>>>16,e=a.g>>>16,f=a.g&65535,g=a.j>>>16;a=(this.j&65535)+(a.j&65535);g=(a>>>16)+(d+g);d=g>>>16;d+=c+f;return P((g&65535)<<16|a&65535,((d>>>16)+(b+e)&65535)<<16|d&65535)};
function uc(a,b){if(vc(a))return a;if(vc(b))return b;var c=a.g>>>16,d=a.g&65535,e=a.j>>>16;a=a.j&65535;var f=b.g>>>16,g=b.g&65535,h=b.j>>>16;b=b.j&65535;var l=a*b;var m=(l>>>16)+e*b;var p=m>>>16;m=(m&65535)+a*h;p+=m>>>16;p+=d*b;var z=p>>>16;p=(p&65535)+e*h;z+=p>>>16;p=(p&65535)+a*g;z=z+(p>>>16)+(c*b+d*h+e*g+a*f)&65535;return P((m&65535)<<16|l&65535,z<<16|p&65535)}
function tc(a,b){if(vc(b))throw Error("division by zero");if(0>a.g){if(a.M(xc)){if(b.M(yc)||b.M(zc))return xc;if(b.M(xc))return yc;var c=a.g;c=P(a.j>>>1|c<<31,c>>1);c=tc(c,b);var d=c.j;c=P(d<<1,c.g<<1|d>>>31);if(c.M(Ac))return 0>b.g?yc:zc;a=a.add(Q(uc(b,c)));return c.add(tc(a,b))}return 0>b.g?tc(Q(a),Q(b)):Q(tc(Q(a),b))}if(vc(a))return Ac;if(0>b.g)return b.M(xc)?Ac:Q(tc(a,Q(b)));for(d=Ac;0<=wc(a,b);){c=Math.max(1,Math.floor(sc(a)/sc(b)));var e=Math.ceil(Math.log(c)/Math.LN2);e=48>=e?1:Math.pow(2,
e-48);for(var f=Bc(c),g=uc(f,b);0>g.g||0<wc(g,a);)c-=e,f=Bc(c),g=uc(f,b);vc(f)&&(f=yc);d=d.add(f);a=a.add(Q(g))}return d}q.and=function(a){return P(this.j&a.j,this.g&a.g)};q.or=function(a){return P(this.j|a.j,this.g|a.g)};q.xor=function(a){return P(this.j^a.j,this.g^a.g)};function Bc(a){return 0<a?0x7fffffffffffffff<=a?Cc:new rc(a,a/4294967296):0>a?-0x7fffffffffffffff>=a?xc:Q(new rc(-a,-a/4294967296)):Ac}function P(a,b){return new rc(a,b)}
var Ac=P(0,0),yc=P(1,0),zc=P(-1,-1),Cc=P(4294967295,2147483647),xc=P(0,2147483648);function Dc(a){if(!isFinite(a))throw a=new kc,M(a),L(a,Error(a)),a.g;return a|0}function Ec(a){return Math.max(Math.min(a,2147483647),-2147483648)|0};function Fc(){}v(Fc,O);function Gc(){var a=new Fc;M(a);L(a,Error(a));return a}Fc.prototype.s=["java.lang.UnsupportedOperationException",0];function Hc(a){this.g=a}v(Hc,I);Hc.prototype.G=function(){var a;return a=this.g,a()};Hc.prototype.s=["java.lang.Iterable$$LambdaAdaptor",0];function Ic(){var a=new Jc;M(a);L(a,Error(a));return a.g};function Kc(){}v(Kc,O);Kc.prototype.s=["java.lang.IllegalStateException",0];function Lc(){}v(Lc,O);Lc.prototype.s=["java.lang.JsException",0];function Mc(){}v(Mc,Lc);function Nc(){var a=new Mc;M(a);L(a,new TypeError(a));return a}Mc.prototype.s=["java.lang.NullPointerException",0];function R(a,b){var c;!(c=Ub(a,b))&&(c=null!=a)&&(c=a.M?a.M(b):Object.is(a,b));return c}function Oc(a){return null!=a?Pc(a):0};function S(){this.g=0}v(S,pc);function Qc(a){-129<a&&128>a?(gc(),a=fc[a+128|0]):a=jc(a);return a}function jc(a){var b=new S;b.g=a;return b}S.prototype.M=function(a){return Rc(a)&&N(a,Rc,S).g==this.g};S.prototype.P=n("g");S.prototype.toString=function(){return""+this.g};function Rc(a){return a instanceof S}S.prototype.s=["java.lang.Integer",0];function Sc(){}v(Sc,I);q=Sc.prototype;q.add=function(){throw Gc().g;};q.clear=function(){for(var a=this.G();a.g();)a.j(),a.l()};q.contains=function(a){return Tc(this,a,!1)};q.remove=function(a){return Tc(this,a,!0)};q.removeAll=function(a){T(a);for(var b=!1,c=this.G();c.g();){var d=c.j();a.contains(d)&&(c.l(),b=!0)}return b};q.toString=function(){for(var a=Uc("[","]"),b=this.G();b.g();){var c=b.j();Vc(a,Ub(c,this)?"(this Collection)":J(c))}return a.toString()};
function Tc(a,b,c){for(a=a.G();a.g();){var d=a.j();if(R(b,d))return c&&a.l(),!0}return!1}q.s=["java.util.AbstractCollection",0];function Wc(){}function Xc(a){return null!=a&&!!a.oa}Wc.prototype.oa=!0;Wc.prototype.s=["java.util.List",1];function Yc(){}v(Yc,Sc);q=Yc.prototype;q.add=function(a){this.Aa(this.size(),a);return!0};q.Aa=function(){throw Gc().g;};q.clear=function(){this.Da(0,this.size())};q.M=function(a){if(Ub(a,this))return!0;if(!Xc(a))return!1;a=N(a,Xc,Wc);if(this.size()!=a.size())return!1;a=a.G();for(var b=this.G();b.g();){var c=b.j(),d=a.j();if(!R(c,d))return!1}return!0};q.P=function(){for(var a=1,b=this.G();b.g();){var c=b.j();a=Math.imul(31,a)+Oc(c)|0}return a};
q.indexOf=function(a){for(var b=0,c=this.size();b<c;b=b+1|0)if(R(a,this.ia(b)))return b;return-1};q.G=function(){var a=new Zc;a.B=this;a.o=0;a.v=-1;return a};q.lastIndexOf=function(a){for(var b=this.size()-1|0;-1<b;b=b-1|0)if(R(a,this.ia(b)))return b;return-1};q.Ga=function(){throw Gc().g;};q.Da=function(a,b){var c=new $c;c.B=this;c.o=0;c.v=-1;ad(a,this.size());for(c.o=a;a<b;a=a+1|0)c.j(),c.l()};q.oa=!0;q.s=["java.util.AbstractList",0];function bd(){}v(bd,Yc);q=bd.prototype;q.contains=function(a){return-1!=this.indexOf(a)};q.ia=function(a){var b=this.g.length;if(0>a||a>=b)throw ec("Index: "+a+", Size: "+b).g;return this.g[a]};q.indexOf=function(a){a:{for(var b=0,c=this.g.length;b<c;b=b+1|0)if(R(a,this.g[b])){a=b;break a}a=-1}return a};q.G=function(){var a=new cd;a.B=this;a.o=0;a.v=-1;return a};q.lastIndexOf=function(a){a:{for(var b=this.g.length-1|0;0<=b;b=b-1|0)if(R(a,this.g[b])){a=b;break a}a=-1}return a};
q.Ga=function(a){this.ia(a);this.g.splice(a,1)};q.remove=function(a){a=this.indexOf(a);if(-1==a)return!1;this.g.splice(a,1);return!0};q.size=function(){return this.g.length};q.oa=!0;q.s=["java.util.ArrayListBase",0];function dd(){}v(dd,bd);dd.prototype.add=function(a){this.g.push(a);return!0};dd.prototype.Aa=function(a,b){ad(a,this.g.length);this.g.splice(a,0,b)};dd.prototype.Da=function(a,b){var c=this.g.length;if(0>a||b>c)throw ec("fromIndex: "+a+", toIndex: "+b+", size: "+c).g;if(a>b)throw gd("fromIndex: "+a+" > toIndex: "+b).g;this.g.splice(a,b-a|0)};dd.prototype.s=["java.util.ArrayList",0];function cd(){this.v=this.o=0}v(cd,I);cd.prototype.g=function(){return this.o<this.B.g.length};cd.prototype.j=function(){var a;hd(this.g());this.v=(a=this.o,this.o=this.o+1|0,a);return this.B.g[this.v]};cd.prototype.l=function(){id(-1!=this.v);var a=this.B,b=this.o=this.v;a.g.splice(b,1);this.v=-1};cd.prototype.s=["java.util.ArrayListBase$1",0];function jd(){}v(jd,O);function kd(){var a=new jd;M(a);L(a,Error(a));return a}jd.prototype.s=["java.util.NoSuchElementException",0];function U(){}function V(a){return null!=a&&!!a.pa}U.prototype.pa=!0;U.prototype.s=["java.util.Map$Entry",1];function ld(){}function md(a){return null!=a&&!!a.va}ld.prototype.va=!0;ld.prototype.s=["java.util.Set",1];function nd(){}v(nd,Sc);q=nd.prototype;q.M=function(a){if(Ub(a,this))return!0;if(!md(a))return!1;a=N(a,md,ld);if(a.size()!=this.size())a=!1;else a:{T(a);for(a=a.G();a.g();){var b=a.j();if(!this.contains(b)){a=!1;break a}}a=!0}return a};q.P=function(){return od(this)};q.removeAll=function(a){T(a);var b=this.size();if(b<a.size())for(var c=this.G();c.g();){var d=c.j();a.contains(d)&&c.l()}else for(a=a.G();a.g();)c=a.j(),this.remove(c);return b!=this.size()};q.va=!0;q.s=["java.util.AbstractSet",0];function pd(){}v(pd,I);pd.prototype.g=function(){return this.o.g()};pd.prototype.j=function(){return N(this.o.j(),V,U).O()};pd.prototype.l=function(){this.o.l()};pd.prototype.s=["java.util.AbstractMap$2$1",0];function qd(){}v(qd,Sc);q=qd.prototype;q.clear=function(){this.g.clear()};q.contains=function(a){return this.g.za(a)};q.G=function(){var a=this.g.V().G(),b=new pd;b.o=a;return b};q.size=function(){return this.g.size()};q.s=["java.util.AbstractMap$2",0];function rd(){}v(rd,I);q=rd.prototype;q.N=n("j");q.O=n("g");q.Ea=function(a){this.g=a};q.M=function(a){if(!V(a))return!1;a=N(a,V,U);return R(this.j,a.N())&&R(this.g,a.O())};q.P=function(){return Oc(this.j)^Oc(this.g)};q.toString=function(){return J(this.j)+"="+J(this.g)};q.pa=!0;q.s=["java.util.AbstractMap$AbstractEntry",0];function sd(){}v(sd,rd);function td(a,b){var c=new sd;c.j=a;c.g=b;return c}sd.prototype.s=["java.util.AbstractMap$SimpleEntry",0];function ud(){}function vd(a){return null!=a&&!!a.ua}ud.prototype.ua=!0;ud.prototype.s=["java.util.Map",1];function wd(){}v(wd,I);q=wd.prototype;q.clear=function(){this.V().clear()};q.xa=function(a){return null!=xd(this,a,!1)};q.za=function(a){for(var b=this.V().G();b.g();){var c=N(b.j(),V,U).O();if(R(a,c))return!0}return!1};function yd(a,b){var c=b.N();b=b.O();var d=a.get(c);return!R(b,d)||null==d&&!a.xa(c)?!1:!0}q.M=function(a){if(Ub(a,this))return!0;if(!vd(a))return!1;a=N(a,vd,ud);if(this.size()!=a.size())return!1;for(a=a.V().G();a.g();){var b=N(a.j(),V,U);if(!yd(this,b))return!1}return!0};
q.get=function(a){return zd(xd(this,a,!1))};q.P=function(){return od(this.V())};q.ya=function(){throw Gc().g;};q.remove=function(a){return zd(xd(this,a,!0))};q.size=function(){return this.V().size()};q.toString=function(){for(var a=Uc("{","}"),b=this.V().G();b.g();){var c=N(b.j(),V,U);c=J(Ad(this,c.N()))+"="+J(Ad(this,c.O()));Vc(a,c)}return a.toString()};function Ad(a,b){return Ub(b,a)?"(this Map)":J(b)}q.values=function(){var a=new qd;a.g=this;return a};function zd(a){return null==a?null:a.O()}
function xd(a,b,c){for(a=a.V().G();a.g();){var d=N(a.j(),V,U);if(R(b,d.N()))return c&&(d=td(d.N(),d.O()),a.l()),d}return null}q.ua=!0;q.s=["java.util.AbstractMap",0];function Bd(){}v(Bd,nd);q=Bd.prototype;q.clear=function(){this.g.clear()};q.contains=function(a){return V(a)?yd(this.g,N(a,V,U)):!1};q.G=function(){var a=new Cd;a.o=this.g;a.D=a.o.l.G();a.v=a.D;a.B=Dd(a);a.A=a.o.j;return a};q.remove=function(a){return this.contains(a)?(a=N(a,V,U).N(),this.g.remove(a),!0):!1};q.size=function(){return this.g.size()};q.s=["java.util.AbstractHashMap$EntrySet",0];function Cd(){this.B=!1;this.A=0}v(Cd,I);Cd.prototype.g=n("B");function Dd(a){if(a.v.g())return!0;if(!Ub(a.v,a.D))return!1;a.v=a.o.g.G();return a.v.g()}Cd.prototype.l=function(){id(null!=this.C);if(this.o.j!=this.A)throw Ic();this.C.l();this.C=null;this.B=Dd(this);this.A=this.o.j};Cd.prototype.j=function(){if(this.o.j!=this.A)throw Ic();hd(this.g());this.C=this.v;var a=N(this.v.j(),V,U);this.B=Dd(this);return a};Cd.prototype.s=["java.util.AbstractHashMap$EntrySetIterator",0];function Ed(){this.j=0}v(Ed,wd);q=Ed.prototype;q.clear=function(){Fd(this)};function Fd(a){var b=new Gd;b.j=new Map;b.l=a;a.g=b;b=new Hd;b.g=new Map;b.o=a;a.l=b;Id(a)}function Id(a){a.j=a.j+1|0}q.xa=function(a){return Jd(a)?this.l.g.has(a):null!=Kd(a,Ld(this.g,null==a?0:Pc(a)))};q.za=function(a){return Md(a,this.l)||Md(a,this.g)};function Md(a,b){for(b=b.G();b.g();){var c=N(b.j(),V,U),d=a;c=c.O();if(R(d,c))return!0}return!1}q.V=function(){var a=new Bd;a.g=this;return a};
q.get=function(a){return Jd(a)?this.l.g.get(a):zd(Kd(a,Ld(this.g,null==a?0:Pc(a))))};q.ya=function(a,b){if(Jd(a))Nd(this.l,a,b);else a:{var c=this.g,d=null==a?0:Pc(a),e=Ld(c,d);if(0==e.length)c.j.set(d,e);else if(d=Kd(a,e),null!=d){d.Ea(b);break a}ic(e,e.length,td(a,b));c.g=c.g+1|0;Id(c.l)}};q.remove=function(a){return Jd(a)?Od(this.l,a):Pd(this.g,a)};q.size=function(){return this.g.g+this.l.l|0};q.s=["java.util.AbstractHashMap",0];function Qd(){this.o=0}v(Qd,I);Qd.prototype.g=function(){if(this.o<this.v.length)return!0;var a=this.C.next();return a.done?!1:(this.v=a.value[1],this.o=0,!0)};Qd.prototype.l=function(){Pd(this.A,this.B.N());0!=this.o&&(this.o=this.o-1|0)};Qd.prototype.j=function(){var a;return this.B=this.v[a=this.o,this.o=this.o+1|0,a]};Qd.prototype.s=["java.util.InternalHashCodeMap$1",0];function Gd(){this.g=0}v(Gd,I);function Pd(a,b){for(var c=null==b?0:Pc(b),d=Ld(a,c),e=0;e<d.length;e=e+1|0){var f=d[e];if(R(b,f.N()))return 1==d.length?(d.length=0,a.j.delete(c)):d.splice(e,1),a.g=a.g-1|0,Id(a.l),f.O()}return null}function Kd(a,b){for(var c=0;c<b.length;c++){var d=b[c];if(R(a,d.N()))return d}return null}Gd.prototype.G=function(){var a=new Qd;a.A=this;a.C=a.A.j.entries();a.o=0;a.v=[];a.B=null;return a};function Ld(a,b){a=a.j.get(b);return null==a?[]:a}
Gd.prototype.s=["java.util.InternalHashCodeMap",0];function Rd(){}v(Rd,I);Rd.prototype.g=function(){return!this.v.done};Rd.prototype.l=function(){Od(this.o,this.A.value[0])};Rd.prototype.j=function(){this.A=this.v;this.v=this.B.next();var a=new Sd,b=this.A,c=this.o.j;a.j=this.o;a.g=b;a.l=c;return a};Rd.prototype.s=["java.util.InternalStringMap$1",0];function Td(){}v(Td,I);q=Td.prototype;q.M=function(a){if(!V(a))return!1;a=N(a,V,U);return R(this.N(),a.N())&&R(this.O(),a.O())};q.P=function(){return Oc(this.N())^Oc(this.O())};q.toString=function(){return J(this.N())+"="+J(this.O())};q.pa=!0;q.s=["java.util.AbstractMapEntry",0];function Sd(){this.l=0}v(Sd,Td);Sd.prototype.N=function(){return this.g.value[0]};Sd.prototype.O=function(){return this.j.j!=this.l?this.j.g.get(this.g.value[0]):this.g.value[1]};Sd.prototype.Ea=function(a){Nd(this.j,this.g.value[0],a)};Sd.prototype.s=["java.util.InternalStringMap$2",0];function Hd(){this.j=this.l=0}v(Hd,I);function Nd(a,b,c){var d=a.g.get(b);a.g.set(b,void 0===c?null:c);void 0===d?(a.l=a.l+1|0,Id(a.o)):a.j=a.j+1|0}function Od(a,b){var c=a.g.get(b);void 0===c?a.j=a.j+1|0:(a.g.delete(b),a.l=a.l-1|0,Id(a.o));return c}Hd.prototype.G=function(){var a=new Rd;a.o=this;a.B=a.o.g.entries();a.v=a.B.next();return a};Hd.prototype.s=["java.util.InternalStringMap",0];function Ud(){this.j=0}v(Ud,Ed);Ud.prototype.s=["java.util.HashMap",0];function Vd(){}v(Vd,I);Vd.prototype.toString=n("g");Vd.prototype.s=["java.lang.AbstractStringBuilder",0];function Wd(){}v(Wd,Vd);Wd.prototype.s=["java.lang.StringBuilder",0];function Xd(){}v(Xd,I);function Uc(a,b){var c=new Xd;c.o=", ".toString();c.l=a.toString();c.j=b.toString();c.v=J(c.l)+J(c.j);return c}function Vc(a,b){if(null==a.g){var c=new Wd,d=N(T(a.l),Jd,Yd);c.g=d;a.g=c}else c=a.g,c.g=J(c.g)+J(a.o);a=a.g;a.g=J(a.g)+J(b)}Xd.prototype.toString=function(){return null==this.g?this.v:0==this.j.length?this.g.toString():J(this.g.toString())+J(this.j)};Xd.prototype.s=["java.util.StringJoiner",0];function od(a){var b=0;for(a=a.G();a.g();){var c=a.j();b=b+Oc(c)|0}return b};function nc(){}v(nc,O);nc.prototype.s=["java.lang.ClassCastException",0];function Zd(){}v(Zd,O);function gd(a){var b=new Zd;b.j=a;M(b);L(b,Error(b));return b}Zd.prototype.s=["java.lang.IllegalArgumentException",0];function Zc(){this.v=this.o=0}v(Zc,I);Zc.prototype.g=function(){return this.o<this.B.size()};Zc.prototype.j=function(){var a;hd(this.g());return this.B.ia(this.v=(a=this.o,this.o=this.o+1|0,a))};Zc.prototype.l=function(){id(-1!=this.v);this.B.Ga(this.v);this.o=this.v;this.v=-1};Zc.prototype.s=["java.util.AbstractList$IteratorImpl",0];function $c(){Zc.call(this)}v($c,Zc);$c.prototype.s=["java.util.AbstractList$ListIteratorImpl",0];function $d(a){switch(T(typeof a)){case "string":for(var b=0,c=0;c<a.length;c=c+1|0){b=(b<<5)-b;var d=a,e=c;ae(e,d.length);b=b+d.charCodeAt(e)|0}return b;case "number":return a=T(a),Ec(a);case "boolean":return T(a)?1231:1237;default:return null==a?0:Vb(a)}}var be=0;function Vb(a){return a.wa||(Object.defineProperties(a,{wa:{value:be=be+1|0,enumerable:!1}}),a.wa)};function Pc(a){return a.P?a.P():$d(a)}function mc(a){switch(T(typeof a)){case "number":return K(qc);case "boolean":return K(oc);case "string":return K(Yd);case "function":return K(ce)}if(a instanceof I)a=K(Xb(a));else if(Array.isArray(a))a=(a=a.na)?K(a.ca,a.ba):K(I,1);else if(null!=a)a=K(de);else throw new TypeError("null.getClass()");return a};function ce(){}ce.prototype.s=["<native function>",1];function de(){}v(de,I);de.prototype.s=["<native object>",0];function ee(){}v(ee,dc);function fe(a){var b=new ee;b.j=a;M(b);L(b,Error(b));return b}ee.prototype.s=["java.lang.StringIndexOutOfBoundsException",0];function Jc(){}v(Jc,O);Jc.prototype.s=["java.util.ConcurrentModificationException",0];function hd(a){if(!a)throw kd().g;}function id(a){if(!a)throw a=new Kc,M(a),L(a,Error(a)),a.g;}function T(a){if(null==a)throw Nc().g;return a}function ae(a,b){if(0>a||a>=b)throw fe("Index: "+a+", Size: "+b).g;}function ad(a,b){if(0>a||a>b)throw ec("Index: "+a+", Size: "+b).g;};function hc(){var a=[256];return ge(a,{ca:S,la:Rc,ba:a.length})}function ge(a,b){var c=a[0];if(null==c)return null;var d=new globalThis.Array(c);b&&(d.na=b);if(1<a.length){a=a.slice(1);b=b&&{ca:b.ca,la:b.la,ba:b.ba-1};for(var e=0;e<c;e++)d[e]=ge(a,b)}else if(b&&(a=b.ca.hb,void 0!==a))for(b=0;b<c;b++)d[b]=a;return d}
function ic(a,b,c){var d;if(!(d=null==c))a:{var e=a.na;if(e)if(1<e.ba){d=e.ca;var f=e.la;e=e.ba-1;if(null!=c&&Array.isArray(c)){var g=c.na||{ca:I,ba:1},h=g.ba;h==e?(e=g.ca,d=e===d?!0:d&&d.prototype.Ia||e&&e.prototype.Ia?!1:f(e.prototype)):d=h>e?I==d:!1}else d=!1;if(!d){d=!1;break a}}else if(null!=c&&!e.la(c)){d=!1;break a}d=!0}if(!d)throw a=new lc,M(a),L(a,Error(a)),a.g;a[b]=c};function Yd(){}v(Yd,I);function J(a){return null==a?"null":a.toString()}function Jd(a){return"string"===typeof a}Yd.prototype.s=["java.lang.String",0];function he(a,b){this.g=a;this.j=b}v(he,I);function Wb(a){return 0!=a.j?J(ie("[",a.j))+J(3==a.g.prototype.s[1]?a.g.prototype.s[2]:"L"+J(a.g.prototype.s[0])+";"):a.g.prototype.s[0]}function je(a,b){b=a.lastIndexOf(b)+1|0;ae(b,a.length+1|0);return a.substr(b)}he.prototype.toString=function(){return String(0==this.j&&1==this.g.prototype.s[1]?"interface ":0==this.j&&3==this.g.prototype.s[1]?"":"class ")+J(Wb(this))};function ie(a,b){for(var c="",d=0;d<b;d=d+1|0)c=J(c)+J(a);return c}
he.prototype.s=["java.lang.Class",0];function K(a,b){var c=b||0;return Ta(a.prototype,"$$class/"+c,function(){return new he(a,c)})};function ac(){}function $b(a){return a instanceof Error}ac.prototype.s=["Error",0];function Zb(a,b){if(a instanceof Object)try{a.Pa=b,Object.defineProperties(a,{cause:{get:function(){return b.l&&b.l.g}}})}catch(c){}};function ke(){}var le;v(ke,I);ke.prototype.g=function(){return"DUMMY"};ke.prototype.toString=function(){return this.g()};function me(){me=k();le=new ne}ke.prototype.s=["java.util.logging.Level",0];function ne(){}v(ne,ke);ne.prototype.g=function(){return"INFO"};ne.prototype.s=["java.util.logging.Level$LevelInfo",0];function oe(){}v(oe,I);oe.prototype.s=["java.util.logging.Handler",0];function pe(){}var qe;v(pe,I);function re(a,b){0==b.g.length&&b.j.add(new se);a.g.ya(b.g,b)}function te(a,b){var c=N(a.g.get(b),ue,ve);if(null==c){b=we(b);c=b.g;var d=Math,e=d.max;var f=String.fromCodePoint(46);f=c.lastIndexOf(f);d=e.call(d,0,f);e=c.length;if(d>e||0>d)throw fe("fromIndex: 0, toIndex: "+d+", length: "+e).g;c=te(a,c.substr(0,d-0|0));null!=c&&(b.v=c);re(a,b);return b}return c}pe.prototype.s=["java.util.logging.LogManager",0];function se(){}v(se,oe);se.prototype.s=["java.util.logging.SimpleConsoleLogHandler",0];function ve(){this.l=!1}v(ve,I);function we(a){var b=new ve;b.g=a;b.l=!0;a=new dd;a.g=[];b.j=a;return b}function ue(a){return a instanceof ve}ve.prototype.s=["java.util.logging.Logger",0];function xe(a,b){this.l=b;this.j=a;M(this);L(this,Error(this))}v(xe,O);xe.prototype.getMessage=n("j");r.Object.defineProperties(xe.prototype,{error:{configurable:!0,enumerable:!0,get:function(){var a=Error(),b=this.g;a.fileName=b.fileName;a.lineNumber=b.lineNumber;a.columnNumber=b.columnNumber;a.message=b.message;a.name=b.name;a.stack=b.stack;a.toSource=b.toSource;a.cause=b.cause;for(var c in b)0!=c.indexOf("__java$")&&(a[c]=b[c]);return a}}});
xe.prototype.s=["com.google.apps.docs.xplat.base.XplatException",0];function ye(){}function ze(a){return a instanceof Error}ye.prototype.s=["Error",0];function Ae(){var a=null==a?function(c){return Ec(Math.floor(Math.random()*c))}:a;var b=(a(2147483647)>>>0).toString(16);b=J(Be("0",Math.max(0,8-b.length|0)))+J(b);a=(a(2147483647)>>>0).toString(16);return J(a)+J(b)};function Ce(){this.o=0}v(Ce,I);Ce.prototype.g=function(){return(this.o+1|0)<this.v.length};Ce.prototype.j=function(){if(!this.g())throw kd().g;var a=this.v,b=this.o=this.o+1|0;return a[b]};Ce.prototype.l=function(){var a=new Fc;a.j="remove";M(a);L(a,Error(a));throw a.g;};Ce.prototype.s=["com.google.gwt.corp.collections.AbstractJsArray$Iter",0];function De(){}function Ee(a){return new Hc(function(){var b=new Fe;b.o=-1;b.v=a;return b})}function Ge(a){return a instanceof Array}De.prototype.s=["Array",0];function Fe(){this.o=0}v(Fe,Ce);Fe.prototype.l=function(){N(this.v,Ge,De).splice(this.o,1);this.o=this.o-1|0};Fe.prototype.s=["com.google.gwt.corp.collections.JsArray$Iter",0];function He(){}function Ie(a){return a instanceof Object}He.prototype.s=["Object",0];var Be=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)};var Je={Bb:"build-label",ib:"buildLabel",lb:"clientLog",pb:"docId",Db:"mobile-app-version",Kb:"severity",jb:"canaryAnalysisJobCanaryType",kb:"startTimeMillis",Nb:"severity-unprefixed",wb:"isArrayPrototypeIntact",qb:"documentCharacterSet",zb:"isModuleLoadFailure",Jb:"reportName",Cb:"locale",nb:"createdOnServer",Fb:"numUnsavedCommands",ob:"cspViolationContext",Ib:"relatedToBrowserExtension"};function Ke(){}function Le(a){return null!=a&&!!a.ta}Ke.prototype.ta=!0;Ke.prototype.s=["com.google.apps.docs.xplat.flag.FlagService",1];var Me;function Ne(){var a;if(null==Me){var b=new Oe(null);Me=function(){return b}}return N((a=Me,a()),Le,Ke)};function Pe(){}v(Pe,I);Pe.prototype.get=function(){if(null==this.g){var a=N(x._docs_flag_initialData,Ie,He);this.g=null!=a?a:N({},Ie,He)}return this.g};Pe.prototype.s=["com.google.apps.docs.xplat.flag.FlagServiceHelper",0];function Qe(a){return"string"==typeof a?"true"==a||"1"==a:!!a};function Oe(a){this.g=new Pe;if(null!=a)for(var b=Ee(Object.keys(a)).G();b.g();){var c=N(b.j(),Jd,Yd),d=c,e=a[c];c=N(this.g.get(),Ie,He);Rc(e)?(e=N(e,Rc,S).g,c[d]=e):c[d]=null!=e?e:null}}v(Oe,I);Oe.prototype.clear=function(){this.g=new Pe};Oe.prototype.get=function(a){return N(this.g.get(),Ie,He)[a]};function Re(a,b){var c=N(a.g.get(),Ie,He);if(!(b in c))return"";a=a.get(b);if(null==a)var d="";else{if(b="number"===typeof a)b=Bc(T(a)),c=Bc(T(a)),b=b.M(c);b?d=""+Bc(T(a)):d=J(a)}return d}
Oe.prototype.ta=!0;Oe.prototype.s=["com.google.apps.docs.xplat.flag.FlagServiceImpl",0];function Se(a){xe.call(this,a,null);L(this,Error(this))}v(Se,xe);Se.prototype.s=["com.google.apps.docs.xplat.net.LimitException",0];function Te(){this.g=!1}v(Te,I);Te.prototype.ea=function(){if(!this.g){this.g=!0;if(null!=this.o){for(var a=Ee(this.o).G();a.g();)a.j().ea();this.o.length=0}a=K(Xb(this));je(je(J(a.g.prototype.s[0])+J(ie("[]",a.j)),"."),"$")}};Te.prototype.X=n("g");Te.prototype.toString=function(){return I.prototype.toString.call(this)||""};Te.prototype.s=["com.google.apps.xplat.disposable.Disposable",0];function Ue(a,b,c,d){this.g=!1;this.v=a;this.l=b;this.j=new Ve(Math.imul(c,1E3),d)}v(Ue,Te);Ue.prototype.s=["com.google.apps.docs.xplat.net.QpsLimiter",0];function We(){this.l=this.o=this.g=0}v(We,I);function Xe(a){return a instanceof We}We.prototype.s=["com.google.apps.docs.xplat.util.BasicStat$Slot",0];function Ve(a){this.j=this.l=0;var b=te;if(null==qe){var c=new pe,d=new Ud;Fd(d);c.g=d;qe=c;c=we("");d=(me(),le);c.o=d;re(qe,c)}b(qe,"BasicStat");this.l=a;this.j=Dc(a/50);this.g=new Ye(Qc(50))}v(Ve,I);Ve.prototype.get=function(a){return Ze(this,a,function(b,c){b=N(b,Rc,S);c=N(c,Xe,We);return Qc(b.g+c.g|0)})};
function Ze(a,b,c){b=null!=b?T(b):sc(Bc(Date.now()));$e(a,b);var d=0;b=T(af(a,T(b)))-a.l;for(var e=a.g.g.length-1|0;0<=e;e=e-1|0){var f=N(a.g.get(e),Xe,We);if(T(f.j)<=b)break;d=N(c(Qc(d),f),Rc,S).g}return d}function af(a,b){return a.j*Math.floor(b/a.j+1)}function $e(a,b){var c=N(bf(a.g),Xe,We);null!=c&&(c=T(c.j)-a.j,T(b)<T(c)&&a.g.clear())}Ve.prototype.s=["com.google.apps.docs.xplat.util.BasicStat",0];function Ye(a){this.j=this.l=0;var b;null!=a?b="number"===typeof a?Ec(T(a)):a.g:b=100;this.l=b;this.g=N([],Ge,De)}v(Ye,I);q=Ye.prototype;q.add=function(a){var b=this.g[this.j];this.g[this.j]=a;this.j=Dc((this.j+1|0)%this.l);return b};q.get=function(a){a=cf(this,a);return this.g[a]};q.set=function(a,b){a=cf(this,a);this.g[a]=b};q.clear=function(){this.j=this.g.length=0};q.ra=function(){for(var a=this.g.length,b=this.g.length-this.g.length|0,c=N([],Ge,De);b<a;b=b+1|0){var d=c,e=this.get(b);d.push(e)}return c};
function bf(a){return 0==a.g.length?null:a.get(a.g.length-1|0)}function cf(a,b){if(b>=a.g.length)throw a=new dc,M(a),L(a,Error(a)),a.g;return a.g.length<a.l?b:Dc((a.j+b|0)%a.l)}q.s=["com.google.apps.docs.xplat.util.CircularBuffer",0];/*

 SPDX-License-Identifier: Apache-2.0
*/
var df=fa([""]),ef=ha(["\x00"],["\\0"]),ff=ha(["\n"],["\\n"]),gf=ha(["\x00"],["\\u0000"]);function hf(a){return-1===a.toString().indexOf("`")}hf(function(a){return a(df)})||hf(function(a){return a(ef)})||hf(function(a){return a(ff)})||hf(function(a){return a(gf)});function jf(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function kf(a){var b={},c;for(c in a)b[c]=a[c];return b}var lf="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function mf(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<lf.length;f++)c=lf[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};function nf(a){var b=ta("window.location.href");null==a&&(a='Unknown Error of type "null/undefined"');if("string"===typeof a)return{message:a,name:"Unknown error",lineNumber:"Not available",fileName:b,stack:"Not available"};var c=!1;try{var d=a.lineNumber||a.line||"Not available"}catch(f){d="Not available",c=!0}try{var e=a.fileName||a.filename||a.sourceURL||x.$googDebugFname||b}catch(f){e="Not available",c=!0}b=of(a);return!c&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name?{message:a.message,
name:a.name,lineNumber:a.lineNumber,fileName:a.fileName,stack:b}:(c=a.message,null==c&&(c=a.constructor&&a.constructor instanceof Function?'Unknown Error of type "'+(a.constructor.name?a.constructor.name:pf(a.constructor))+'"':"Unknown Error of unknown type","function"===typeof a.toString&&Object.prototype.toString!==a.toString&&(c+=": "+a.toString())),{message:c,name:a.name||"UnknownError",lineNumber:d,fileName:e,stack:b||"Not available"})}
function of(a,b){b||(b={});b[qf(a)]=!0;var c=a.stack||"";(a=a.cause)&&!b[qf(a)]&&(c+="\nCaused by: ",a.stack&&0==a.stack.indexOf(a.toString())||(c+="string"===typeof a?a:a.message+"\n"),c+=of(a,b));return c}function qf(a){var b="";"function"===typeof a.toString&&(b=""+a);return b+a.stack}function rf(a,b){a instanceof Error||(a=Error(a),Error.captureStackTrace&&Error.captureStackTrace(a,rf));a.stack||(a.stack=sf(rf));if(b){for(var c=0;a["message"+c];)++c;a["message"+c]=String(b)}return a}
function tf(a,b){a=rf(a);if(b)for(var c in b)mb(a,c,b[c]);return a}function sf(a){var b=Error();if(Error.captureStackTrace)Error.captureStackTrace(b,a||sf),b=String(b.stack);else{try{throw b;}catch(c){b=c}b=(b=b.stack)?String(b):null}b||(b=uf(a||arguments.callee.caller,[]));return b}
function uf(a,b){var c=[];if(0<=Pa(b,a))c.push("[...circular reference...]");else if(a&&50>b.length){c.push(pf(a)+"(");for(var d=a.arguments,e=0;d&&e<d.length;e++){0<e&&c.push(", ");var f=d[e];switch(typeof f){case "object":f=f?"object":"null";break;case "string":break;case "number":f=String(f);break;case "boolean":f=f?"true":"false";break;case "function":f=(f=pf(f))?f:"[fn]";break;default:f=typeof f}40<f.length&&(f=f.slice(0,40)+"...");c.push(f)}b.push(a);c.push(")\n");try{c.push(uf(a.caller,b))}catch(g){c.push("[exception trying to get caller]\n")}}else a?
c.push("[...long stack...]"):c.push("[end]");return c.join("")}function pf(a){if(vf[a])return vf[a];a=String(a);if(!vf[a]){var b=/function\s+([^\(]+)/m.exec(a);vf[a]=b?b[1]:"[Anonymous]"}return vf[a]}var vf={};function wf(a,b){this.name=a;this.value=b}wf.prototype.toString=n("name");var xf=new wf("SEVERE",1E3),yf=new wf("WARNING",900),zf=new wf("CONFIG",700);function Af(){this.clear()}var Bf;function Cf(a){var b=Df(),c=b.g;if(c[0]){var d=b.j;b=b.l?d:-1;do b=(b+1)%0,a(c[b]);while(b!==d)}}Af.prototype.clear=function(){this.g=[];this.j=-1;this.l=!1};function Df(){Bf||(Bf=new Af);return Bf};var Ef=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function Ff(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(0<=d){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}}
function Gf(a,b){if(!b)return a;var c=a.indexOf("#");0>c&&(c=a.length);var d=a.indexOf("?");if(0>d||d>c){d=c;var e=""}else e=a.substring(d+1,c);a=[a.slice(0,d),e,a.slice(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;return a[0]+(a[1]?"?"+a[1]:"")+a[2]}function Hf(a,b,c){if(Array.isArray(b))for(var d=0;d<b.length;d++)Hf(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+encodeURIComponent(String(b))))}function If(a,b){var c=[];for(b=b||0;b<a.length;b+=2)Hf(a[b],a[b+1],c);return c.join("&")}
function Jf(a){var b=[],c;for(c in a)Hf(c,a[c],b);return b.join("&")}function Kf(a,b){var c=2==arguments.length?If(arguments[1],0):If(arguments,1);return Gf(a,c)};function Lf(a){this.g=this.A=this.o="";this.C=null;this.B=this.j="";this.v=!1;var b;a instanceof Lf?(this.v=a.v,Mf(this,a.o),this.A=a.A,this.g=a.g,Nf(this,a.C),Of(this,a.j),Pf(this,Qf(a.l)),this.B=a.B):a&&(b=String(a).match(Ef))?(this.v=!1,Mf(this,b[1]||"",!0),this.A=Rf(b[2]||""),this.g=Rf(b[3]||"",!0),Nf(this,b[4]),Of(this,b[5]||"",!0),Pf(this,b[6]||"",!0),this.B=Rf(b[7]||"")):(this.v=!1,this.l=new Sf(null,this.v))}
Lf.prototype.toString=function(){var a=[],b=this.o;b&&a.push(Tf(b,Uf,!0),":");var c=this.g;if(c||"file"==b)a.push("//"),(b=this.A)&&a.push(Tf(b,Uf,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.C,null!=c&&a.push(":",String(c));if(c=this.j)this.g&&"/"!=c.charAt(0)&&a.push("/"),a.push(Tf(c,"/"==c.charAt(0)?Vf:Wf,!0));(c=this.l.toString())&&a.push("?",c);(c=this.B)&&a.push("#",Tf(c,Xf));return a.join("")};
Lf.prototype.resolve=function(a){var b=new Lf(this),c=!!a.o;c?Mf(b,a.o):c=!!a.A;c?b.A=a.A:c=!!a.g;c?b.g=a.g:c=null!=a.C;var d=a.j;if(c)Nf(b,a.C);else if(c=!!a.j){if("/"!=d.charAt(0))if(this.g&&!this.j)d="/"+d;else{var e=b.j.lastIndexOf("/");-1!=e&&(d=b.j.slice(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){d=0==e.lastIndexOf("/",0);e=e.split("/");for(var f=[],g=0;g<e.length;){var h=e[g++];"."==h?d&&g==e.length&&f.push(""):".."==h?((1<f.length||1==f.length&&
""!=f[0])&&f.pop(),d&&g==e.length&&f.push("")):(f.push(h),d=!0)}d=f.join("/")}else d=e}c?Of(b,d):c=""!==a.l.toString();c?Pf(b,Qf(a.l)):c=!!a.B;c&&(b.B=a.B);return b};function Mf(a,b,c){a.o=c?Rf(b,!0):b;a.o&&(a.o=a.o.replace(/:$/,""));return a}function Nf(a,b){if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.C=b}else a.C=null}function Of(a,b,c){a.j=c?Rf(b,!0):b;return a}function Pf(a,b,c){b instanceof Sf?(a.l=b,Yf(a.l,a.v)):(c||(b=Tf(b,Zf)),a.l=new Sf(b,a.v))}
function $f(a,b,c){a.l.set(b,c);return a}function Rf(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function Tf(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,ag),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}function ag(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}var Uf=/[#\/\?@]/g,Wf=/[#\?:]/g,Vf=/[#\?]/g,Zf=/[#\?@]/g,Xf=/#/g;function Sf(a,b){this.j=this.g=null;this.l=a||null;this.o=!!b}
function bg(a){a.g||(a.g=new Map,a.j=0,a.l&&Ff(a.l,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))}q=Sf.prototype;q.add=function(a,b){bg(this);this.l=null;a=cg(this,a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.j=this.j+1;return this};q.remove=function(a){bg(this);a=cg(this,a);return this.g.has(a)?(this.l=null,this.j=this.j-this.g.get(a).length,this.g.delete(a)):!1};q.clear=function(){this.g=this.l=null;this.j=0};
function dg(a,b){bg(a);b=cg(a,b);return a.g.has(b)}q.forEach=function(a,b){bg(this);this.g.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};q.ra=function(a){bg(this);var b=[];if("string"===typeof a)dg(this,a)&&(b=b.concat(this.g.get(cg(this,a))));else{a=Array.from(this.g.values());for(var c=0;c<a.length;c++)b=b.concat(a[c])}return b};
q.set=function(a,b){bg(this);this.l=null;a=cg(this,a);dg(this,a)&&(this.j=this.j-this.g.get(a).length);this.g.set(a,[b]);this.j=this.j+1;return this};q.get=function(a,b){if(!a)return b;a=this.ra(a);return 0<a.length?String(a[0]):b};
q.toString=function(){if(this.l)return this.l;if(!this.g)return"";for(var a=[],b=Array.from(this.g.keys()),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.ra(d);for(var f=0;f<d.length;f++){var g=e;""!==d[f]&&(g+="="+encodeURIComponent(String(d[f])));a.push(g)}}return this.l=a.join("&")};function Qf(a){var b=new Sf;b.l=a.l;a.g&&(b.g=new Map(a.g),b.j=a.j);return b}function cg(a,b){b=String(b);a.o&&(b=b.toLowerCase());return b}
function Yf(a,b){b&&!a.o&&(bg(a),a.l=null,a.g.forEach(function(c,d){var e=d.toLowerCase();if(d!=e&&(this.remove(d),this.remove(e),0<c.length)){this.l=null;d=this.g;var f=d.set;e=cg(this,e);var g=c.length;if(0<g){for(var h=Array(g),l=0;l<g;l++)h[l]=c[l];g=h}else g=[];f.call(d,e,g);this.j=this.j+c.length}},a));a.o=b};function eg(){var a=x.window;a.onbeforeunload=k();a.location.reload()};function fg(){this.g=function(){eg()}}fg.prototype.notify=function(){window.confirm("This error has been reported to Google and we'll look into it as soon as possible. Please reload this page to continue.")&&this.g()};var gg=/\/d\/([^\/]+)/,hg=/\/r\/([^\/]+)/;function ig(a){a=a.match(Ef)[5]||null;return gg.test(a)}function jg(a,b){if(ig(a)){ig(a);var c=a.match(Ef),d=c[5];d=d.replace(b,"");b=c[1];a=c[2];var e=c[3],f=c[4],g=c[6];c=c[7];var h="";b&&(h+=b+":");e&&(h+="//",a&&(h+=a+"@"),h+=e,f&&(h+=":"+f));d&&(h+=d);g&&(h+="?"+g);c&&(h+="#"+c);b=h}else b=a;return b};function kg(a){a&&"function"==typeof a.ea&&a.ea()};function lg(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];va(d)?lg.apply(null,d):kg(d)}};function W(){this.B=this.B;this.v=this.v}W.prototype.B=!1;W.prototype.X=n("B");W.prototype.ea=function(){this.B||(this.B=!0,this.J())};function mg(a,b){b=Ba(kg,b);a.B?b():(a.v||(a.v=[]),a.v.push(b))}W.prototype.J=function(){if(this.v)for(;this.v.length;)this.v.shift()()};function X(a,b){this.type=a;this.g=this.target=b;this.defaultPrevented=!1}X.prototype.j=function(){this.defaultPrevented=!0};var ng=[],og=[],pg=!1;function qg(a){ng[ng.length]=a;if(pg)for(var b=0;b<og.length;b++)a(y(og[b].g,og[b]))};var rg=function(){if(!x.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=k();x.addEventListener("test",c,b);x.removeEventListener("test",c,b)}catch(d){}return a}();function sg(a,b){X.call(this,a?a.type:"");this.relatedTarget=this.g=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=0;this.key="";this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.l=null;if(a){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.g=b;b=a.relatedTarget;b||("mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement));
this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.key=a.key||"";this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType=
"string"===typeof a.pointerType?a.pointerType:tg[a.pointerType]||"";this.state=a.state;this.l=a;a.defaultPrevented&&sg.T.j.call(this)}}A(sg,X);var tg={2:"touch",3:"pen",4:"mouse"};sg.prototype.j=function(){sg.T.j.call(this);var a=this.l;a.preventDefault?a.preventDefault():a.returnValue=!1};var ug="closure_listenable_"+(1E6*Math.random()|0);var vg=0;function wg(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.ka=e;this.key=++vg;this.removed=this.ga=!1}function xg(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.ka=null};function yg(a){this.src=a;this.g={};this.j=0}yg.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.g[f];a||(a=this.g[f]=[],this.j++);var g=zg(a,b,d,e);-1<g?(b=a[g],c||(b.ga=!1)):(b=new wg(b,this.src,f,!!d,e),b.ga=c,a.push(b));return b};yg.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.g))return!1;var e=this.g[a];b=zg(e,b,c,d);return-1<b?(xg(e[b]),Array.prototype.splice.call(e,b,1),0==e.length&&(delete this.g[a],this.j--),!0):!1};
function Ag(a,b){var c=b.type;c in a.g&&Ra(a.g[c],b)&&(xg(b),0==a.g[c].length&&(delete a.g[c],a.j--))}yg.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.g)if(!a||c==a){for(var d=this.g[c],e=0;e<d.length;e++)++b,xg(d[e]);delete this.g[c];this.j--}return b};function zg(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.removed&&f.listener==b&&f.capture==!!c&&f.ka==d)return e}return-1};var Bg="closure_lm_"+(1E6*Math.random()|0),Cg={},Dg=0;function Eg(a,b,c,d,e){if(d&&d.once)return Fg(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)Eg(a,b[f],c,d,e);return null}c=Gg(c);return a&&a[ug]?a.listen(b,c,wa(d)?!!d.capture:!!d,e):Hg(a,b,c,!1,d,e)}
function Hg(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var g=wa(e)?!!e.capture:!!e,h=Ig(a);h||(a[Bg]=h=new yg(a));c=h.add(b,c,d,g,f);if(c.proxy)return c;d=Jg();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)rg||(e=g),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Kg(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");Dg++;return c}
function Jg(){function a(c){return b.call(a.src,a.listener,c)}var b=Lg;return a}function Fg(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)Fg(a,b[f],c,d,e);return null}c=Gg(c);return a&&a[ug]?a.j.add(String(b),c,!0,wa(d)?!!d.capture:!!d,e):Hg(a,b,c,!0,d,e)}
function Mg(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)Mg(a,b[f],c,d,e);else(d=wa(d)?!!d.capture:!!d,c=Gg(c),a&&a[ug])?a.j.remove(String(b),c,d,e):a&&(a=Ig(a))&&(b=a.g[b.toString()],a=-1,b&&(a=zg(b,c,d,e)),(c=-1<a?b[a]:null)&&Ng(c))}
function Ng(a){if("number"!==typeof a&&a&&!a.removed){var b=a.src;if(b&&b[ug])Ag(b.j,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Kg(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Dg--;(c=Ig(b))?(Ag(c,a),0==c.j&&(c.src=null,b[Bg]=null)):xg(a)}}}function Kg(a){return a in Cg?Cg[a]:Cg[a]="on"+a}
function Lg(a,b){if(a.removed)a=!0;else{b=new sg(b,this);var c=a.listener,d=a.ka||a.src;a.ga&&Ng(a);a=c.call(d,b)}return a}function Ig(a){a=a[Bg];return a instanceof yg?a:null}var Og="__closure_events_fn_"+(1E9*Math.random()>>>0);function Gg(a){if("function"===typeof a)return a;a[Og]||(a[Og]=function(b){return a.handleEvent(b)});return a[Og]}qg(function(a){Lg=a(Lg)});function Y(){W.call(this);this.j=new yg(this);this.Ja=this;this.Y=null}A(Y,W);Y.prototype[ug]=!0;q=Y.prototype;q.addEventListener=function(a,b,c,d){Eg(this,a,b,c,d)};q.removeEventListener=function(a,b,c,d){Mg(this,a,b,c,d)};
q.dispatchEvent=function(a){var b=this.Y;if(b){var c=[];for(var d=1;b;b=b.Y)c.push(b),++d}b=this.Ja;d=a.type||a;if("string"===typeof a)a=new X(a,b);else if(a instanceof X)a.target=a.target||b;else{var e=a;a=new X(d,b);mf(a,e)}e=!0;if(c)for(var f=c.length-1;0<=f;f--){var g=a.g=c[f];e=Pg(g,d,!0,a)&&e}g=a.g=b;e=Pg(g,d,!0,a)&&e;e=Pg(g,d,!1,a)&&e;if(c)for(f=0;f<c.length;f++)g=a.g=c[f],e=Pg(g,d,!1,a)&&e;return e};q.J=function(){Y.T.J.call(this);this.j&&this.j.removeAll(void 0);this.Y=null};
q.listen=function(a,b,c,d){return this.j.add(String(a),b,!1,c,d)};function Pg(a,b,c,d){b=a.j.g[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var g=b[f];if(g&&!g.removed&&g.capture==c){var h=g.listener,l=g.ka||g.src;g.ga&&Ag(a.j,g);e=!1!==h.call(l,d)&&e}}return e&&!d.defaultPrevented};function Qg(a,b){this.l=a;this.o=b;this.j=0;this.g=null}Qg.prototype.get=function(){if(0<this.j){this.j--;var a=this.g;this.g=a.next;a.next=null}else a=this.l();return a};function Rg(a,b){a.o(b);100>a.j&&(a.j++,b.next=a.g,a.g=b)};function Sg(){};function Tg(){var a=document;var b="IFRAME";"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)};var Ug;
function Vg(){var a=x.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!C("Presto")&&(a=function(){var e=Tg();e.style.display="none";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.close();var g="callImmediate"+Math.random(),h="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=y(function(l){if(("*"==h||l.origin==h)&&l.data==g)this.port1.onmessage()},this);f.addEventListener("message",e,
!1);this.port1={};this.port2={postMessage:function(){f.postMessage(g,h)}}});if("undefined"!==typeof a&&!(D()?0:C("Trident")||C("MSIE"))){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.Ba;c.Ba=null;e()}};return function(e){d.next={Ba:e};d=d.next;b.port2.postMessage(0)}}return function(e){x.setTimeout(e,0)}}function Wg(a){return a}qg(function(a){Wg=a});function Xg(){this.j=this.g=null}Xg.prototype.add=function(a,b){var c=Yg.get();c.set(a,b);this.j?this.j.next=c:this.g=c;this.j=c};Xg.prototype.remove=function(){var a=null;this.g&&(a=this.g,this.g=this.g.next,this.g||(this.j=null),a.next=null);return a};var Yg=new Qg(function(){return new Zg},function(a){return a.reset()});function Zg(){this.next=this.scope=this.g=null}Zg.prototype.set=function(a,b){this.g=a;this.scope=b;this.next=null};Zg.prototype.reset=function(){this.next=this.scope=this.g=null};var $g,ah=!1,bh=new Xg;function ch(a,b){$g||dh();ah||($g(),ah=!0);bh.add(a,b)}function dh(){if(x.Promise&&x.Promise.resolve){var a=x.Promise.resolve(void 0);$g=function(){a.then(eh)}}else $g=function(){var b=eh;b=Wg(b);"function"!==typeof x.setImmediate||x.Window&&x.Window.prototype&&(D()||!C("Edge"))&&x.Window.prototype.setImmediate==x.setImmediate?(Ug||(Ug=Vg()),Ug(b)):x.setImmediate(b)}}function eh(){for(var a;a=bh.remove();){try{a.g.call(a.scope)}catch(b){Da(b)}Rg(Yg,a)}ah=!1};function fh(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};function Z(a){this.g=0;this.A=void 0;this.o=this.j=this.l=null;this.v=this.B=!1;if(a!=Sg)try{var b=this;a.call(void 0,function(c){gh(b,2,c)},function(c){gh(b,3,c)})}catch(c){gh(this,3,c)}}function hh(){this.next=this.l=this.j=this.o=this.g=null;this.v=!1}hh.prototype.reset=function(){this.l=this.j=this.o=this.g=null;this.v=!1};var ih=new Qg(function(){return new hh},function(a){a.reset()});function jh(a,b,c){var d=ih.get();d.o=a;d.j=b;d.l=c;return d}
function kh(a){if(a instanceof Z)return a;var b=new Z(Sg);gh(b,2,a);return b}function lh(a){return new Z(function(b,c){c(a)})}function mh(a,b,c){nh(a,b,c,null)||ch(Ba(b,a))}function oh(){var a=[ph(),qh()];return new Z(function(b,c){var d=a.length,e=[];if(d)for(var f=function(m,p){d--;e[m]=p;0==d&&b(e)},g=function(m){c(m)},h=0,l;h<a.length;h++)l=a[h],mh(l,Ba(f,h),g);else b(e)})}function rh(){var a,b,c=new Z(function(d,e){a=d;b=e});return new sh(c,a,b)}
Z.prototype.then=function(a,b,c){return th(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};Z.prototype.$goog_Thenable=!0;q=Z.prototype;q.W=function(a,b){return th(this,null,a,b)};q.catch=Z.prototype.W;q.cancel=function(a){if(0==this.g){var b=new uh(a);ch(function(){vh(this,b)},this)}};
function vh(a,b){if(0==a.g)if(a.l){var c=a.l;if(c.j){for(var d=0,e=null,f=null,g=c.j;g&&(g.v||(d++,g.g==a&&(e=g),!(e&&1<d)));g=g.next)e||(f=g);e&&(0==c.g&&1==d?vh(c,b):(f?(d=f,d.next==c.o&&(c.o=d),d.next=d.next.next):wh(c),xh(c,e,3,b)))}a.l=null}else gh(a,3,b)}function yh(a,b){a.j||2!=a.g&&3!=a.g||zh(a);a.o?a.o.next=b:a.j=b;a.o=b}
function th(a,b,c,d){var e=jh(null,null,null);e.g=new Z(function(f,g){e.o=b?function(h){try{var l=b.call(d,h);f(l)}catch(m){g(m)}}:f;e.j=c?function(h){try{var l=c.call(d,h);void 0===l&&h instanceof uh?g(h):f(l)}catch(m){g(m)}}:g});e.g.l=a;yh(a,e);return e.g}q.eb=function(a){this.g=0;gh(this,2,a)};q.fb=function(a){this.g=0;gh(this,3,a)};
function gh(a,b,c){0==a.g&&(a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself")),a.g=1,nh(c,a.eb,a.fb,a)||(a.A=c,a.g=b,a.l=null,zh(a),3!=b||c instanceof uh||Ah(a,c)))}function nh(a,b,c,d){if(a instanceof Z)return yh(a,jh(b||Sg,c||null,d)),!0;if(fh(a))return a.then(b,c,d),!0;if(wa(a))try{var e=a.then;if("function"===typeof e)return Bh(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1}
function Bh(a,b,c,d,e){function f(l){h||(h=!0,d.call(e,l))}function g(l){h||(h=!0,c.call(e,l))}var h=!1;try{b.call(a,g,f)}catch(l){f(l)}}function zh(a){a.B||(a.B=!0,ch(a.Sa,a))}function wh(a){var b=null;a.j&&(b=a.j,a.j=b.next,b.next=null);a.j||(a.o=null);return b}q.Sa=function(){for(var a;a=wh(this);)xh(this,a,this.g,this.A);this.B=!1};
function xh(a,b,c,d){if(3==c&&b.j&&!b.v)for(;a&&a.v;a=a.l)a.v=!1;if(b.g)b.g.l=null,Ch(b,c,d);else try{b.v?b.o.call(b.l):Ch(b,c,d)}catch(e){Dh.call(null,e)}Rg(ih,b)}function Ch(a,b,c){2==b?a.o.call(a.l,c):a.j&&a.j.call(a.l,c)}function Ah(a,b){a.v=!0;ch(function(){a.v&&Dh.call(null,b)})}var Dh=Da;function uh(a){B.call(this,a);this.g=!1}A(uh,B);uh.prototype.name="cancel";function sh(a,b,c){this.promise=a;this.resolve=b;this.reject=c};function Eh(a,b,c){if("function"===typeof a)c&&(a=y(a,c));else if(a&&"function"==typeof a.handleEvent)a=y(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:x.setTimeout(a,b||0)}function Fh(){var a=null;return(new Z(function(b,c){a=Eh(function(){b(void 0)},2E3);-1==a&&c(Error("Failed to schedule timer."))})).W(function(b){x.clearTimeout(a);throw b;})};function Gh(a,b,c){W.call(this);this.g=a;this.o=b||0;this.j=c;this.l=y(this.Ra,this)}A(Gh,W);q=Gh.prototype;q.da=0;q.J=function(){Gh.T.J.call(this);this.stop();delete this.g;delete this.j};q.start=function(a){this.stop();this.da=Eh(this.l,void 0!==a?a:this.o)};q.stop=function(){this.isActive()&&x.clearTimeout(this.da);this.da=0};q.isActive=function(){return 0!=this.da};q.Ra=function(){this.da=0;this.g&&this.g.call(this.j)};function Hh(a){W.call(this);this.j=a;this.g={}}A(Hh,W);var Ih=[];Hh.prototype.listen=function(a,b,c,d){Array.isArray(b)||(b&&(Ih[0]=b.toString()),b=Ih);for(var e=0;e<b.length;e++){var f=Eg(a,b[e],c||this.handleEvent,d||!1,this.j||this);if(!f)break;this.g[f.key]=f}return this};Hh.prototype.removeAll=function(){jf(this.g,function(a,b){this.g.hasOwnProperty(b)&&Ng(a)},this);this.g={}};Hh.prototype.J=function(){Hh.T.J.call(this);this.removeAll()};
Hh.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};function Jh(){};/*

 Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
 Copyright The Closure Library Authors.
 SPDX-License-Identifier: MIT
*/
function Kh(a,b){this.v=[];this.K=a;this.I=b||null;this.o=this.l=!1;this.j=void 0;this.D=this.X=this.A=!1;this.B=0;this.g=null;this.C=0}A(Kh,Jh);Kh.prototype.cancel=function(a){if(this.l)this.j instanceof Kh&&this.j.cancel();else{if(this.g){var b=this.g;delete this.g;a?b.cancel(a):(b.C--,0>=b.C&&b.cancel())}this.K?this.K.call(this.I,this):this.D=!0;this.l||(a=new Lh(this),Mh(this),Nh(this,!1,a))}};Kh.prototype.F=function(a,b){this.A=!1;Nh(this,a,b)};function Nh(a,b,c){a.l=!0;a.j=c;a.o=!b;Oh(a)}
function Mh(a){if(a.l){if(!a.D)throw new Ph(a);a.D=!1}}function Qh(a){throw a;}function Rh(a,b,c){return Sh(a,b,null,c)}function Th(a,b,c){Sh(a,b,function(d){var e=b.call(this,d);if(void 0===e)throw d;return e},c)}function Sh(a,b,c,d){a.v.push([b,c,d]);a.l&&Oh(a);return a}Kh.prototype.then=function(a,b,c){var d,e,f=new Z(function(g,h){e=g;d=h});Sh(this,e,function(g){g instanceof Lh?f.cancel():d(g);return Uh},this);return f.then(a,b,c)};Kh.prototype.$goog_Thenable=!0;
Kh.prototype.isError=function(a){return a instanceof Error};function Vh(a){return Qa(a.v,function(b){return"function"===typeof b[1]})}var Uh={};
function Oh(a){if(a.B&&a.l&&Vh(a)){var b=a.B,c=Wh[b];c&&(x.clearTimeout(c.g),delete Wh[b]);a.B=0}a.g&&(a.g.C--,delete a.g);b=a.j;for(var d=c=!1;a.v.length&&!a.A;){var e=a.v.shift(),f=e[0],g=e[1];e=e[2];if(f=a.o?g:f)try{var h=f.call(e||a.I,b);h===Uh&&(h=void 0);void 0!==h&&(a.o=a.o&&(h==b||a.isError(h)),a.j=b=h);if(fh(b)||"function"===typeof x.Promise&&b instanceof x.Promise)d=!0,a.A=!0}catch(l){b=l,a.o=!0,Vh(a)||(c=!0)}}a.j=b;d&&(h=y(a.F,a,!0),d=y(a.F,a,!1),b instanceof Kh?(Sh(b,h,d),b.X=!0):b.then(h,
d));c&&(b=new Xh(b),Wh[b.g]=b,a.B=b.g)}function Yh(a){var b=new Kh;Mh(b);Nh(b,!0,a);return b}function Ph(){B.call(this)}A(Ph,B);Ph.prototype.message="Deferred has already fired";Ph.prototype.name="AlreadyCalledError";function Lh(){B.call(this)}A(Lh,B);Lh.prototype.message="Deferred was canceled";Lh.prototype.name="CanceledError";function Xh(a){this.g=x.setTimeout(y(this.l,this),0);this.j=a}Xh.prototype.l=function(){delete Wh[this.g];Qh(this.j)};var Wh={};function Zh(a,b,c,d){W.call(this);this.g=a;this.K=b;this.l=new Gh(this.C,3E4,this);this.I=new Ue("errorsender",1,8,d);mg(this,this.I);this.F=!1;this.A=null;this.D=new Set;this.o=new Hh(this);this.Y=c||10;this.o.listen(this.g,"complete",this.L);this.o.listen(this.g,"ready",this.C)}v(Zh,W);
Zh.prototype.send=function(a,b,c,d){Qe(this.K.get("docs-dafjera"))&&(a=jg(jg(a,hg),gg));var e=Rh(Rh(Yh(this.j.length),function(f){if(!(f>=this.Y))return f={},f.u=a,f.m=b,f.c=c,f.h=d,this.enqueue(f)},this),this.C,this);Th(e,function(){this.D.delete(e)},this);this.D.add(e)};Zh.prototype.C=function(){return this.l.isActive()||this.g.isActive()||this.F?Yh():$h(this)};
function $h(a){a.l.isActive();a.g.isActive();return Rh(Yh(void 0!==a.j[0]?a.j[0]:null),function(b){if(!(this.g.isActive()||this.l.isActive()||this.F)&&b){if(4E3<b.u.length)return ai(this);try{var c=this.I;if(!((c.j.get(null)+1|0)/T(c.j.l/1E3)<=c.l))throw(new Se("Query would cause "+J(c.v)+" to exceed "+c.l+" qps.")).g;var d=c.j,e=sc(Bc(Date.now()));$e(d,e);var f=N(bf(d.g),Xe,We);if(null==f||T(e)>=T(f.j)){var g=af(d,T(e)),h=new We;h.j=g;h.g=0;h.o=2147483647;h.l=-2147483648;f=h;d.g.add(f)}f.g=f.g+1|
0;f.o=Math.min(1,f.o);f.l=Math.max(1,f.l);this.A=new Kh;this.g.send(b.u,b.m,b.c,b.h);return this.A}catch(l){b=l;if(null==b)b=new Yb,M(b),L(b,Error(b));else if(bc(b))b=N(b,bc,Yb);else if(ze(b))b:{b=N(b,ze,ye);if(null!=b&&(c=b.Pa,null!=c)){b=c;break b}b instanceof TypeError?c=Nc():(c=new Lc,M(c),L(c,Error(c)));c.j=J(b);L(c,b);b=c}else throw gd("Unsupported type cannot be used to create a Throwable.").g;if(b instanceof Se)this.F=!0;else throw tf(l,{"docs-origin-class":"docs.debug.ErrorSender"});}}},
a)}Zh.prototype.L=function(){var a=bi(this.g),b=this.A;ci(this.g)||400<=a&&500>=a?Rh(ai(this),function(){Mh(b);Nh(b,!0)}):(this.l.start(),Mh(b),Nh(b,!0))};Zh.prototype.J=function(){lg(this.o,this.l,this.g);this.D.clear();W.prototype.J.call(this)};function di(a,b,c){Zh.call(this,a,b,c);this.j=[]}v(di,Zh);di.prototype.enqueue=function(a){this.j.push(a);return Yh()};function ai(a){a.j.shift();return Yh()}di.prototype.J=function(){delete this.j;Zh.prototype.J.call(this)};function ei(a,b){this.g=a;this.j=b}ei.prototype.execute=function(a){this.g&&(this.g.call(this.j||null,a),this.g=this.j=null)};ei.prototype.abort=function(){this.j=this.g=null};qg(function(a){ei.prototype.execute=a(ei.prototype.execute)});function fi(a){this.g=new Tb(a);a=Mb(this.g,1,0);this.j=Math.floor(100*Math.random())<a}fi.prototype.toString=function(){var a="{bool="+!(this.j?!Lb(this.g,5):!Lb(this.g,2,!1))+', string="',b=this.j?Ib(this.g,6):Nb(this.g,3,"");a=a+(null!=b?String(b):"")+'", int=';b=this.j?qb(Cb(this.g,7)):Mb(this.g,4,-1);return a+(null!=b?Number(b):-1)+"}"};function gi(a){this.g=new Map;this.j=[];if(a=a.get("docs-cei")){var b=a.i;b&&Sa(this.j,b);a=a.cf||{};for(var c in a)this.g.set(c,new fi(a[c]))}}gi.prototype.get=function(a){return this.g.get(a)||null};function hi(){for(var a in Array.prototype)return!1;return!0};function ii(a){W.call(this);this.j=a}A(ii,W);ii.prototype.g=function(a){return ji(this,a)};function ki(a,b){a=Object.prototype.hasOwnProperty.call(a,xa)&&a[xa]||(a[xa]=++ya);return(b?"__wrapper_":"__protected_")+a+"__"}function ji(a,b){var c=ki(a,!0);b[c]||((b[c]=li(a,b))[ki(a,!1)]=b);return b[c]}
function li(a,b){function c(){if(a.X())return b.apply(this,arguments);try{return b.apply(this,arguments)}catch(e){var d=e;if(!(d&&"object"===typeof d&&"string"===typeof d.message&&0==d.message.indexOf("Error in protected function: ")||"string"===typeof d&&0==d.indexOf("Error in protected function: ")))throw a.j(d),new mi(d);}}c[ki(a,!1)]=b;return c}
function ni(a,b){var c=x.window||x.globalThis,d=c[b];if(!d)throw Error(b+" not on global?");c[b]=function(e,f){"string"===typeof e&&(e=Ba(Ca,e));e&&(arguments[0]=e=ji(a,e));if(d.apply)return d.apply(this,arguments);var g=e;if(2<arguments.length){var h=Array.prototype.slice.call(arguments,2);g=function(){e.apply(this,h)}}return d(g,f)};c[b][ki(a,!1)]=d}
ii.prototype.J=function(){var a=x.window||x.globalThis;var b=a.setTimeout;b=b[ki(this,!1)]||b;a.setTimeout=b;b=a.setInterval;b=b[ki(this,!1)]||b;a.setInterval=b;ii.T.J.call(this)};function mi(a){B.call(this,"Error in protected function: "+(a&&a.message?String(a.message):String(a)),a);(a=a&&a.stack)&&"string"===typeof a&&(this.stack=a)}A(mi,B);function oi(){}oi.prototype.l=null;function pi(a){return a.l||(a.l=a.o())};var qi;function ri(){}A(ri,oi);ri.prototype.j=function(){return new XMLHttpRequest};ri.prototype.o=function(){return{}};qi=new ri;function si(a){Y.call(this);this.headers=new Map;this.F=a||null;this.l=!1;this.D=this.g=null;this.L="";this.o=this.K=this.A=this.I=!1;this.R=0;this.C=null;this.aa="";this.S=this.fa=!1}A(si,Y);var ti=/^https?$/i,ui=["POST","PUT"],vi=[];q=si.prototype;q.Qa=function(){this.ea();Ra(vi,this)};
q.send=function(a,b,c,d){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.L+"; newUri="+a);b=b?b.toUpperCase():"GET";this.L=a;this.I=!1;this.l=!0;this.g=this.F?this.F.j():qi.j();this.D=this.F?pi(this.F):pi(qi);this.g.onreadystatechange=y(this.Fa,this);try{this.K=!0,this.g.open(b,String(a),!0),this.K=!1}catch(g){wi(this);return}a=c||"";c=new Map(this.headers);if(d)if(Object.getPrototypeOf(d)===Object.prototype)for(var e in d)c.set(e,d[e]);else if("function"===typeof d.keys&&
"function"===typeof d.get){e=u(d.keys());for(var f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.get(f))}else throw Error("Unknown input type for opt_headers: "+String(d));d=Array.from(c.keys()).find(function(g){return"content-type"==g.toLowerCase()});e=x.FormData&&a instanceof x.FormData;!(0<=Pa(ui,b))||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=u(c);for(d=b.next();!d.done;d=b.next())c=u(d.value),d=c.next().value,c=c.next().value,this.g.setRequestHeader(d,c);
this.aa&&(this.g.responseType=this.aa);"withCredentials"in this.g&&this.g.withCredentials!==this.fa&&(this.g.withCredentials=this.fa);try{xi(this),0<this.R&&(this.S=!1,this.C=Eh(this.Ha,this.R,this)),this.A=!0,this.g.send(a),this.A=!1}catch(g){wi(this)}};q.Ha=function(){"undefined"!=typeof ra&&this.g&&(this.dispatchEvent("timeout"),this.abort(8))};function wi(a){a.l=!1;a.g&&(a.o=!0,a.g.abort(),a.o=!1);yi(a);zi(a)}function yi(a){a.I||(a.I=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))}
q.abort=function(){this.g&&this.l&&(this.l=!1,this.o=!0,this.g.abort(),this.o=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),zi(this))};q.J=function(){this.g&&(this.l&&(this.l=!1,this.o=!0,this.g.abort(),this.o=!1),zi(this,!0));si.T.J.call(this)};q.Fa=function(){this.X()||(this.K||this.A||this.o?Ai(this):this.sa())};q.sa=function(){Ai(this)};
function Ai(a){if(a.l&&"undefined"!=typeof ra&&(!a.D[1]||4!=(a.g?a.g.readyState:0)||2!=bi(a)))if(a.A&&4==(a.g?a.g.readyState:0))Eh(a.Fa,0,a);else if(a.dispatchEvent("readystatechange"),4==(a.g?a.g.readyState:0)){a.l=!1;try{ci(a)?(a.dispatchEvent("complete"),a.dispatchEvent("success")):yi(a)}finally{zi(a)}}}function zi(a,b){if(a.g){xi(a);var c=a.g,d=a.D[0]?k():null;a.g=null;a.D=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}}
function xi(a){a.g&&a.S&&(a.g.ontimeout=null);a.C&&(x.clearTimeout(a.C),a.C=null)}q.isActive=function(){return!!this.g};function ci(a){var b=bi(a);a:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var c=!0;break a;default:c=!1}if(!c){if(b=0===b)a=String(a.L).match(Ef)[1]||null,!a&&x.self&&x.self.location&&(a=x.self.location.protocol.slice(0,-1)),b=!ti.test(a?a.toLowerCase():"");c=b}return c}
function bi(a){try{return 2<(a.g?a.g.readyState:0)?a.g.status:-1}catch(b){return-1}}qg(function(a){si.prototype.sa=a(si.prototype.sa)});function Bi(a,b,c){Y.call(this);this.A=b||null;this.o={};this.C=Ci;this.F=a;if(!c){this.g=null;this.g=new ii(y(this.l,this));ni(this.g,"setTimeout");ni(this.g,"setInterval");a=this.g;b=x.window||x.globalThis;c=["requestAnimationFrame","mozRequestAnimationFrame","webkitAnimationFrame","msRequestAnimationFrame"];for(var d=0;d<c.length;d++){var e=c[d];c[d]in b&&ni(a,e)}a=this.g;pg=!0;b=y(a.g,a);for(c=0;c<ng.length;c++)ng[c](b);og.push(a)}}A(Bi,Y);
function Di(a,b){X.call(this,"a");this.error=a;this.Z=b}A(Di,X);function Ei(a,b){return new Bi(a,b,void 0)}function Ci(a,b,c,d){if(d instanceof Map){var e={};d=u(d);for(var f=d.next();!f.done;f=d.next()){var g=u(f.value);f=g.next().value;g=g.next().value;e[f]=g}}else e=d;d=new si;vi.push(d);d.j.add("ready",d.Qa,!0,void 0,void 0);d.send(a,b,c,e)}function Fi(a,b){a.C=b}
Bi.prototype.l=function(a,b){a=a.error||a;b=b?kf(b):{};a instanceof Error&&mf(b,a.__closure__error__context__984382||{});var c=nf(a);if(this.A)try{this.A(c,b)}catch(E){}var d=c.message.substring(0,1900);if(!(a instanceof B)||a.g){var e=c.fileName,f=c.lineNumber;a=c.stack;try{var g=Kf(this.F,"script",e,"error",d,"line",f);a:{for(var h in this.o){var l=!1;break a}l=!0}if(!l){l=g;var m=Jf(this.o);g=Gf(l,m)}m={};m.trace=a;if(b)for(var p in b)m["context."+p]=b[p];var z=Jf(m);this.C(g,"POST",z,this.D)}catch(E){}}try{this.dispatchEvent(new Di(c,
b))}catch(E){}};Bi.prototype.J=function(){kg(this.g);Bi.T.J.call(this)};function Gi(){this.g=Date.now()}var Hi=null;Gi.prototype.set=function(a){this.g=a};Gi.prototype.reset=function(){this.set(Date.now())};Gi.prototype.get=n("g");function Ii(a){this.o=a||"";Hi||(Hi=new Gi);this.v=Hi}Ii.prototype.g=!0;Ii.prototype.j=!0;Ii.prototype.l=!1;function Ji(a){return 10>a?"0"+a:String(a)}function Ki(a){Ii.call(this,a)}A(Ki,Ii);
function Li(a,b){var c=[];c.push(a.o," ");if(a.j){var d=c.push,e=new Date(b.l());d.call(c,"[",Ji(e.getFullYear()-2E3)+Ji(e.getMonth()+1)+Ji(e.getDate())+" "+Ji(e.getHours())+":"+Ji(e.getMinutes())+":"+Ji(e.getSeconds())+"."+Ji(Math.floor(e.getMilliseconds()/10)),"] ")}d=c.push;e=a.v.get();e=(b.l()-e)/1E3;var f=e.toFixed(3),g=0;if(1>e)g=2;else for(;100>e;)g++,e*=10;for(;0<g--;)f=" "+f;d.call(c,"[",f,"s] ");c.push("[",b.j(),"] ");c.push(b.getMessage());a.l&&(b=b.g(),void 0!==b&&c.push("\n",b instanceof
Error?b.message:String(b)));a.g&&c.push("\n");return c.join("")};function Mi(a){a=void 0===a?new Ni:a;Y.call(this);this.L={};this.g=null;this.l={};this.I=new Hh(this);this.Oa=a.v;this.Ma=a.C;this.Na=a.o;this.R=new fg;var b=new si,c=a.l;Oi(this,c);this.D=new di(b,c,void 0);mg(this,this.D);this.A=a.g?a.g:Re(c,"docs-sup")+Re(c,"docs-jepp")+"/jserror";if(b=Re(c,"jobset"))this.A=Kf(this.A,"jobset",b);if(b=Re(c,"docs-ci"))this.A=Kf(this.A,"id",b);Pi(this);Dh=function(d){return Qi(d,"promise rejection")};Qh=function(d){Qi(d,"deferred error")};this.K=a.j;this.C=!1;this.F=
!0;this.o=!1;this.aa=Re(c,"docs-jern");this.Ka=a.A;this.fa=a.B.concat(Object.values(Je));this.La=Qe(c.get("docs-eett"))}v(Mi,Y);
function Pi(a){var b=void 0===b?!1:b;if(Ri)throw Error("ErrorReporter already installed.");Ri=!0;a.g=Ei(a.A,function(d,e){var f=a.C;try{a.S(d,e)}catch(h){throw f&&!a.K&&(a.F=!1),a.C=!0,e.provideLogDataError=h.message,e.severity||(e.severity="fatal"),tf(h);}finally{if(e["severity-unprefixed"]=e.severity||"fatal",e.severity=""+e["severity-unprefixed"],!a.Ka)for(var g in e)"number"===typeof e[g]||e[g]instanceof Number||"boolean"===typeof e[g]||e[g]instanceof Boolean||a.fa.includes(g)||g in e&&delete e[g]}});
var c={};a.Ma&&(c["X-No-Abort"]="1");a.g.D=c;Fi(a.g,function(d,e,f,g){a.F&&a.D.send(d,e,f,g)});a.I.listen(a.g,"a",function(d){d.Z.severity=d.Z["severity-unprefixed"]||d.Z.severity;var e=d.Z.severity;(e="fatal"==e||"postmortem"==e)&&!a.Na&&(!a.Oa||(void 0===b?0:b)?a.R.notify(void 0,a,d.Z):a.R.notify(d,a,d.Z));a.dispatchEvent(new Si(e?"b":"c",d.error,d.Z))})}function Oi(a,b){b=new gi(b);var c=b.g,d;for(d in c){var e=c[d];e&&(a.l["expflag-"+d]=e.toString())}a.l.experimentIds=b.j.join(",")}
function Ti(a,b){a.o=!1;if(!a.g){if(b instanceof xe)throw b.g;throw tf(b);}a.g.l(b,Ui("fatal"))}Mi.prototype.info=function(a,b,c){this.o=c||!1;this.g&&this.g.l(a,Ui("incident",b))};Mi.prototype.log=function(a,b,c){this.o=!!c;this.g&&this.g.l(a,Ui("incident",b))};
function Qi(a,b){if(null!=a){if(a&&"object"===typeof a&&"error"===a.type){var c=a.error;a=JSON.stringify({error:c&&c.message?c.message:"Missing error cause.",stack:c&&c.stack?c.stack:"Missing error cause.",message:a.message,filename:a.filename,lineno:a.lineno,colno:a.colno,type:a.type});b=Error("Unhandled "+b+" with ErrorEvent: "+a)}else b="string"===typeof a?Error("Unhandled "+b+" with: "+a):null==a?Error("Unhandled "+b+' with "null/undefined"'):a;Da(b)}}
function Vi(a,b,c){return function(){a:{var d=pa.apply(0,arguments);if(a.g){try{var e=b.apply(c,d);break a}catch(f){Ti(a,f)}e=void 0}else e=b.apply(c,d)}return e}}function Wi(a,b){a.g&&b.then(void 0,function(c){Ti(a,c instanceof Error?c:Error(c))});return b}function Ui(a,b){b=b?kf(b):{};b.severity=a;return b}
Mi.prototype.S=function(a,b){for(var c in this.L)try{b[c]=this.L[c](a)}catch(g){}mf(b,this.l);if(0<(Df(),0)){var d=new Ki,e="";Cf(function(g){e+=Li(d,g)});b.clientLog=e}c=b.severity||"fatal";this.La&&(a.message.includes("Trusted Type")||a.message.includes("TrustedHTML")||a.message.includes("TrustedScript"))&&(c="warning");this.aa&&(b.reportName=this.aa+"_"+c);b.isArrayPrototypeIntact=hi().toString();b.documentCharacterSet=document.characterSet;var f=a.stack||"";if(0==f.trim().length||"Not available"==
f)b["stacklessError-reportingStack"]=sf(Mi.prototype.S),[a.message].concat(ia(Object.keys(b)),ia(Object.values(b))).some(function(g){return g.includes("<eye3")})||(b.eye3Hint="<eye3-stackless title='Stackless JS Error - "+a.name+"'/>");this.C&&!this.K?(this.F=this.o,"fatal"==c?c="postmortem":"incident"==c&&(c="warningafterdeath")):"fatal"==c&&(this.C=!0);this.o=!1;b.severity=c};Mi.prototype.J=function(){Ri=!1;lg(this.I,this.g,this.D);Y.prototype.J.call(this)};var Ri=!1;
function Si(a,b){X.call(this,a);this.error=b}v(Si,X);function Ni(){this.l=void 0;this.o=this.v=!1;this.g=void 0;this.C=this.j=!1;this.A=!0;this.B=[]};function Xi(a){this.g=null;this.j=1>a;this.l=.01>a}function Yi(a,b,c){c=void 0===c?{}:c;a.l&&(c.sampling_samplePercentage=(.01).toString(),a.g.info(b,c))}function Zi(a,b,c){c=void 0===c?{}:c;a.j&&(c.sampling_samplePercentage=(1).toString(),a=a.g,a.o=!1,a.g&&a.g.l(b,Ui("warning",c)))};function $i(a){this.H=F(a)}v($i,H);$i.prototype.getMessage=function(){return Nb(this,1)};function aj(a){this.H=F(a)}v(aj,H);function bj(a){this.H=F(a)}v(bj,H);function cj(a){this.H=F(a)}v(cj,H);function dj(a,b){return Rb(a,b)}cj.prototype.Ca=function(){return G(this,aj,3)};cj.prototype.qa=function(){return G(this,$i,5)};function ej(a){this.H=F(a)}v(ej,H);ej.prototype.qa=function(){return G(this,$i,3)};ej.prototype.Ca=function(){return G(this,aj,4)};function fj(a){var b=rh();chrome.runtime.sendMessage(a.toJSON(),void 0,function(c){return gj(b,function(d){return new ej(d)},c)});return b.promise.catch(function(c){c=rf(c);mb(c,"offscreenDocumentRequestType",Ob(a).toString());throw c;})}function gj(a,b,c){var d=chrome.runtime;void 0!==c?(b=b(c),b.qa()?a.reject(Error("Error from Offscreen page:"+Ib(b.qa(),1))):a.resolve(b)):a.reject(Error("No response from Offscreen page:"+(d.lastError?d.lastError.message:"without lastError")))};function hj(){return ij(chrome.storage.local,["optedInUserOuid"]).then(function(a){return a.optedInUserOuid||null})}function jj(a){return kj({offlineOptedIn:!0}).then(function(){if(a){var b={};return kj((b.optedInUserOuid=a,b))}})}function lj(){return kj({offlineOptedIn:!1}).then(function(){return mj()})}
function nj(){return ij(chrome.storage.local,["offlineOptedIn"]).then(function(a){a=a.offlineOptedIn;switch(a){case void 0:return"unknown";case !0:return"opted_in";case !1:return"opted_out";default:throw Error("Cannot handle opt in value "+a);}})}function ph(){return ij(chrome.storage.managed,["allowedDocsOfflineDomains"]).then(function(a){return a&&a.allowedDocsOfflineDomains?a.allowedDocsOfflineDomains:[]})}
function qh(){return ij(chrome.storage.managed,["autoEnabledDocsOfflineDomains"]).then(function(a){return a&&a.autoEnabledDocsOfflineDomains?a.autoEnabledDocsOfflineDomains:[]})}function ij(a,b){return new Z(function(c,d){a.get(b,function(e){chrome.runtime.lastError?d(chrome.runtime.lastError):c(e)})})}function kj(a){return new Z(function(b,c){chrome.storage.local.set(a,function(){chrome.runtime.lastError?c(chrome.runtime.lastError):b()})})}
function mj(){return new Z(function(a,b){chrome.storage.local.remove("optedInUserOuid",function(){chrome.runtime.lastError?b(chrome.runtime.lastError):a()})})}function oj(){return ij(chrome.storage.local,["lastSuccessfulFrameConnectTime"]).then(function(a){return a.lastSuccessfulFrameConnectTime||null})};function pj(a){this.H=F(a)}v(pj,H);function qj(a){this.H=F(a)}v(qj,H);function rj(a){this.H=F(a)}v(rj,H);function sj(a){this.H=F(a)}v(sj,H);function tj(a){this.H=F(a)}v(tj,H);function uj(a,b){return Rb(a,b)}function vj(a,b){return Hb(a,sj,5,b)};function wj(a,b,c){W.call(this);this.A=null;this.F=a;this.C=b;this.o=c;this.j=rh();this.l=!1;a=new Lf;Of(a,"offscreendocument.html");$f(a,"randomPercentageForSampling",this.o);$f(a,"sessionId",this.C);this.D={url:a.toString(),reasons:["IFRAME_SCRIPTING"],justification:"Use iframe to access user data under docs.google.com domain"};this.g=new Xi(this.o)}v(wj,W);function xj(a,b){a.A=b}
function yj(a){return zj().then(function(b){return b?chrome.offscreen.closeDocument():Promise.resolve()}).then(function(){Aj(a)})}function Bj(a,b){return Promise.resolve(Cj(a,Dj(a,6,b)))}function Ej(a,b){b=Dj(a,1,b);return Promise.resolve(Cj(a,b))}function Fj(a,b){return zj().then(function(c){b[Gj(0)]=c.toString();return c?Promise.resolve():Hj(a)})}
function Hj(a){return chrome.offscreen.createDocument(a.D).catch(function(b){if(b instanceof Error&&b.message.includes("Only a single offscreen document may be created"))Yi(a.g,b);else return Promise.reject(b)})}function Ij(a,b){return chrome.offscreen.closeDocument().catch(function(c){c=c instanceof Error?c.message:c.toString();Yi(a.g,Error(c),b);b.errorWhenForceCloseOffscreenDoc=c}).then(function(){return Hj(a)})}
function Dj(a,b,c){b=uj(new tj,b);var d=new pj;c=Qb(d,1,c);c=Qb(c,2,a.A.toString());a=Qb(c,3,a.F);a=Qb(a,4,"opted_in");return Hb(b,pj,2,a)}
function Jj(a,b){var c={sendingFrameRequestType:Ob(b)},d=vj(uj(new tj,4),b);return Promise.resolve(Kj(a,d,c,0)).catch(function(e){if(e instanceof Error){c.offlineFrameConnected_afterFirstError=a.l;if(Lj(e.message))return Yi(a.g,e,c),new Promise(function(f){return setTimeout(function(){return f(Kj(a,d,c,1))},2E3)});if("Requests cancelled because user has been opted out"==e.message)return Promise.resolve(new aj)}return Promise.reject(e)})}
function Kj(a,b,c,d){return a.j.promise.then(function(){return zj()}).then(function(e){c[Gj(d)]=e.toString();return e?kh():Mj(a)}).then(function(){return a.j.promise}).then(function(){return fj(b)}).then(function(e){return e.Ca()}).W(function(e){return Nj(e,c)})}function Mj(a){Aj(a);return nj().then(function(b){return"opted_in"==b?hj().then(function(c){return Ej(a,c)}):lh(Error("Requests cancelled because user has been opted out"))})}
function Cj(a,b){6==Ob(b)||Ob(b);var c={sendingOffscreenDocumentRequestType:Ob(b).toString()};return kh(Fj(a,c)).then(function(){return Fh()}).then(function(){return fj(b)}).W(function(d){return d instanceof Error&&Lj(d.message)?(Zi(a.g,d,c),kh(zj()).then(function(e){c[Gj(1)]=e.toString()}).then(function(){return Ij(a,c)}).then(function(){return Fh()}).then(function(){return fj(b)})):lh(d)}).W(function(d){return Nj(d,c)})}
function Lj(a){return a.includes("Could not establish connection. Receiving end does not exist.")||a.includes("The message port closed before a response was received.")||a.includes("A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received")}function zj(){return self.clients.matchAll().then(function(a){return a.some(function(b){return b.url.includes(chrome.runtime.getURL("offscreendocument.html"))})})}
wj.prototype.J=function(){yj(this);W.prototype.J.call(this)};function Aj(a){a.j=rh();a.l=!1}function Gj(a){switch(a){case 0:return"hasDocument_beforeCreatingOffscreenDoc_0";case 1:return"hasDocument_beforeCreatingOffscreenDoc_1";default:throw Error("Cannot get error context key with retryAttempt "+a);}}function Nj(a,b){a=rf(a);b=u(Object.entries(b));for(var c=b.next();!c.done;c=b.next()){var d=u(c.value);c=d.next().value;d=d.next().value;mb(a,c,d)}throw a;};function Oj(a){this.H=F(a)}v(Oj,H);function Pj(a){this.H=F(a)}v(Pj,H);function Qj(a){this.H=F(a)}v(Qj,H);function Rj(a){this.H=F(a)}v(Rj,H);function Sj(){y(this.l,this);this.g=new Ki;this.g.j=!1;this.g.l=!1;this.j=this.g.g=!1;this.o={}}function Tj(a){1!=a.j&&(a.j=!0)}Sj.prototype.l=function(a){function b(f){if(f){if(f.value>=xf.value)return"error";if(f.value>=yf.value)return"warn";if(f.value>=zf.value)return"log"}return"debug"}if(!this.o[a.j()]){var c=Li(this.g,a),d=Uj;if(d){var e=b(a.o());Vj(d,e,c,a.g())}}};var Uj=x.console;function Vj(a,b,c,d){if(a[b])a[b](c,void 0===d?"":d);else a.log(c,void 0===d?"":d)};function Wj(a){this.B=a.gb||null;this.v=a.Qb||!1;this.g=void 0}A(Wj,oi);Wj.prototype.j=function(){var a=new Xj(this.B,this.v);this.g&&(a.D=this.g);return a};Wj.prototype.o=function(a){return function(){return a}}({});function Xj(a,b){Y.call(this);this.aa=a;this.I=b;this.D=void 0;this.status=this.readyState=0;this.responseType=this.o=this.l=this.statusText="";this.onreadystatechange=null;this.K=new Headers;this.A=null;this.R="GET";this.S="";this.g=!1;this.L=this.C=this.F=null}A(Xj,Y);q=Xj.prototype;
q.open=function(a,b){if(0!=this.readyState)throw this.abort(),Error("Error reopening a connection");this.R=a;this.S=b;this.readyState=1;Yj(this)};q.send=function(a){if(1!=this.readyState)throw this.abort(),Error("need to call open() first. ");this.g=!0;var b={headers:this.K,method:this.R,credentials:this.D,cache:void 0};a&&(b.body=a);(this.aa||x).fetch(new Request(this.S,b)).then(this.Wa.bind(this),this.ja.bind(this))};
q.abort=function(){this.l=this.o="";this.K=new Headers;this.status=0;this.C&&this.C.cancel("Request was aborted.").catch(k());1<=this.readyState&&this.g&&4!=this.readyState&&(this.g=!1,Zj(this));this.readyState=0};
q.Wa=function(a){if(this.g&&(this.F=a,this.A||(this.status=this.F.status,this.statusText=this.F.statusText,this.A=a.headers,this.readyState=2,Yj(this)),this.g&&(this.readyState=3,Yj(this),this.g)))if("arraybuffer"===this.responseType)a.arrayBuffer().then(this.Ua.bind(this),this.ja.bind(this));else if("undefined"!==typeof x.ReadableStream&&"body"in a){this.C=a.body.getReader();if(this.I){if(this.responseType)throw Error('responseType must be empty for "streamBinaryChunks" mode responses.');this.l=
[]}else this.l=this.o="",this.L=new TextDecoder;ak(this)}else a.text().then(this.Va.bind(this),this.ja.bind(this))};function ak(a){a.C.read().then(a.Ta.bind(a)).catch(a.ja.bind(a))}q.Ta=function(a){if(this.g){if(this.I&&a.value)this.l.push(a.value);else if(!this.I){var b=a.value?a.value:new Uint8Array(0);if(b=this.L.decode(b,{stream:!a.done}))this.l=this.o+=b}a.done?Zj(this):Yj(this);3==this.readyState&&ak(this)}};q.Va=function(a){this.g&&(this.l=this.o=a,Zj(this))};
q.Ua=function(a){this.g&&(this.l=a,Zj(this))};q.ja=function(){this.g&&Zj(this)};function Zj(a){a.readyState=4;a.F=null;a.C=null;a.L=null;Yj(a)}q.setRequestHeader=function(a,b){this.K.append(a,b)};q.getResponseHeader=function(a){return this.A?this.A.get(a.toLowerCase())||"":""};q.getAllResponseHeaders=function(){if(!this.A)return"";for(var a=[],b=this.A.entries(),c=b.next();!c.done;)c=c.value,a.push(c[0]+": "+c[1]),c=b.next();return a.join("\r\n")};
function Yj(a){a.onreadystatechange&&a.onreadystatechange.call(a)}Object.defineProperty(Xj.prototype,"withCredentials",{get:function(){return"include"===this.D},set:function(a){this.D=a?"include":"same-origin"}});var bk=new Wj({gb:self});bk.g="same-origin";qi=bk;
function ck(){W.call(this);var a=this;this.D=Ae();this.g=this.A=null;this.K=!1;this.L=new Sj;Tj(this.L);this.I=rh();chrome.alarms.onAlarm.addListener(function(b){return a.I.promise.then(function(){return Wi(a.g,Vi(a.g,a.Ya,a)(b))})});chrome.runtime.onMessageExternal.addListener(function(b,c,d){return dk(a,b,d)});chrome.runtime.onMessage.addListener(this.Za.bind(this));this.C=new Hh(this);mg(this,this.C);this.C.listen(x,"message",this.ab);this.o=100*Math.random();this.F=1>this.o;this.l=new Xi(this.o);
this.j=new wj(ek(),this.D,this.o);chrome.runtime.onConnectExternal.addListener(k());Eh(this.cb,252E5,this)}v(ck,W);q=ck.prototype;q.load=function(){var a=this;this.A="docs.google.com";return kj({docsDomain:this.A}).then(function(){a.g=fk(a);a.I.resolve();mg(a,a.g);a.l.g=a.g;a.j.g.g=a.g;xj(a.j,gk(a));mg(a,a.j);var b=Vi(a.g,a.Xa,a),c=Wi(a.g,kh().then(function(){return b()}));return kh(c)}).W(function(b){rf(b)})};
function hk(a,b,c){return $f($f(Of(gk(a),"/offline/extension/report"),"v",c),"optin",b).toString()}q.cb=function(){chrome.alarms.create("open",{delayInMinutes:1});Zi(this.l,Error("Called unsafeClose_"))};function ik(a){return new Z(function(b){chrome.alarms.get("heartbeat",function(c){c||(chrome.alarms.create("heartbeat",{periodInMinutes:5}),jk(a,"heartbeat"));b()})})}function kk(){return new Z(function(a){chrome.alarms.clear("heartbeat",function(){a()})})}
q.Xa=function(){var a=this;return oj().then(function(b){a.g.l.lastSuccessfulFrameConnectTime=(null==b?void 0:b.toString())||"null"}).then(function(){return nj()}).then(function(b){var c=ek();a.g.l.extensionVersion=c;a.g.l.optInStatus=String(b);lk(a,String(b),c);switch(b){case "unknown":break;case "opted_in":return hj().then(function(d){return Ej(a.j,d)});case "opted_out":break;default:throw Error("Could not handle opt in status "+b);}})};
function lk(a,b,c){a.F&&(b=hk(a,b,c),x.fetch(new Request(b,{method:"post",mode:"cors"})).then(k()).catch(function(d){var e=a.g;d=rf(d);e.o=!1;e.g&&e.g.l(d,Ui("warning"))}))}q.ab=function(a){var b=a.l;b&&b.data&&b.ports&&b.ports.length?(a=new Rj(b.data),mk(this,a,1<b.ports.length?b.ports[1]:void 0).then(function(c){b.ports[0].postMessage(xb(c))})):Zi(this.l,Error("Dropped invalid event."),{event:String(a)})};
function dk(a,b,c){var d=new Rj(b);mk(a,d).then(function(e){c(xb(e))}).W(function(e){if(e instanceof Error&&"Attempting to use a disconnected port object"==e.message)Zi(a.l,Error("Failed to reply to request because listen port was disconnected."),{requestType:Jb(d)});else throw e;});return!0}
q.Za=function(a,b,c){var d=this;a=new tj(a);switch(Jb(a)){case 3:a=G(a,qj,4);b=null!=Ib(a,1)?Nb(a,1):null;var e=Ib(a,2);jj(b).then(function(){return kj({lastSuccessfulFrameConnectTime:parseInt(e,10)})}).then(function(){var f=d.j;f.l=!0;f.j.resolve()}).then(function(){var f=new ej;f=Rb(f,3);c(xb(f))});break;default:throw Error("Unsupported OffscreenDocumentRequestType.");}return!0};
function mk(a,b,c){return kh().then(a.bb.bind(a,b,c)).W(function(d){d=d instanceof Error?d:Error(d);var e=new cj,f=new $i;Hb(e,$i,5,f);Qb(f,1,d.message);return e})}
q.bb=function(a){var b=this,c=dj(new cj,Pb(a));switch(Jb(a)){case 1:return(a=(a=G(a,qj,7))?Ib(a,1):null)||Yi(this.l,Error("Scheduler frame connect request sent without an ouid.")),jj(a).then(function(){return kj({lastSuccessfulFrameConnectTime:Date.now()})}).then(function(){var e=b.j;e.l=!0;e.j.resolve()}).then(function(){return c});case 2:var d=(a=G(a,Oj,8))?Ib(a,1):null;return jj(d).then(function(){return d?d:hj()}).then(function(e){return Bj(b.j,e).then(function(){return ik(b)})}).then(function(){return c});
case 3:return(a=G(a,Pj,3))&&Nb(a,1)?(a=Nb(a,1),this.K?a=kh(yj(this.j)):(Yi(this.l,Error("Extension frame connected with the wrong OUID.")),this.K=!0,a=kh(Ej(this.j,a))),a.then(function(){return c})):lj().then(function(){return kk()}).then(function(){return yj(b.j)}).then(function(){return c});case 5:return nk(G(a,Qj,5)).then(function(e){Hb(c,bj,4,e);return c});case 4:return a=G(a,sj,4),kh(Jj(this.j,a)).then(function(e){Hb(c,aj,3,e);return c})}throw Error("Dropped unknown message "+a);};
function nk(a){var b=Ib(a,1);return oh().then(function(c){var d=c[0],e=c[1];c=new bj;var f=0<=Pa(d,b);d=0<=Pa(e,b);e=f||d;e=null==e?e:pb(e);Fb(c,1,e);Fb(c,2,null==d?d:pb(d));return c})}q.Ya=function(a){return jk(this,a.name)};function jk(a,b){var c=new sj;c=Rb(c,0);var d=new rj;b=Qb(d,1,b);Hb(c,rj,2,b);return kh(Jj(a.j,c))}
function fk(a){var b=Of(gk(a),"/offline/jserror").toString(),c=a.F;a=String(a.D);var d=new Ni;d.v=!1;d.o=!0;d.g=b;d.j=!0;b=Ne();d.l=b;b=new Mi(d);b.l.sessionTypeName="offline-event-page";b.l.reportsNonFatalErrors=String(c);b.l.sid=a;return b}function gk(a){return Mf(new Lf("//"+a.A),"https")}function ek(){var a=chrome.runtime.getManifest();return a.version?a.version:"unknown"};self.window=self;(new ck).load();
